SciPy

numpy.polynomial.polynomial.Polynomial.has_sametype

Polynomial.has_sametype(other)

Check if types match.

Parameters :

other : object

Class instance.

Returns :

bool : boolean

True if other is same class as self

Notes

New in version 1.7.0.