numpy / 1.23 / 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–2022 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.23/reference/generated/numpy.polynomial.polynomial.Polynomial.has_sametype.html