numpy / 1.18.5 / reference / generated / numpy.polynomial.polynomial.polynomial.has_sametype.html /

numpy.polynomial.polynomial.Polynomial.has_sametype

method

Polynomial.has_sametype(self, 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

© 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.18/reference/generated/numpy.polynomial.polynomial.Polynomial.has_sametype.html