numpy.polynomial.polynomial.Polynomial.has_samedomain

Polynomial.has_samedomain(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.