SciPy

This is documentation for an old release of NumPy (version 1.17.0). Read this page in the documentation of the latest stable release (version > 1.17).

numpy.polynomial.polynomial.Polynomial.has_sametype

method

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