numpy.polynomial.polynomial.Polynomial.has_sametype#

method

polynomial.polynomial.Polynomial.has_sametype(other)[source]#

Check if types match.

New in version 1.7.0.

Parameters
otherobject

Class instance.

Returns
boolboolean

True if other is same class as self