SciPy

numpy.polynomial.polynomial.Polynomial.has_sametype

Polynomial.has_sametype(other)[source]

Check if types match.

New in version 1.7.0.

Parameters:
other : object

Class instance.

Returns:
bool : boolean

True if other is same class as self