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

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

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