SciPy

numpy.polynomial.polynomial.Polynomial.has_samedomain

method

Polynomial.has_samedomain(self, other)[source]

Check if domains match.

New in version 1.6.0.

Parameters:
other : class instance

The other class must have the domain attribute.

Returns:
bool : boolean

True if the domains are the same, False otherwise.