numpy.polynomial.polynomial.Polynomial.has_samedomain#

method

polynomial.polynomial.Polynomial.has_samedomain(other)[source]#

Check if domains match.

New in version 1.6.0.

Parameters
otherclass instance

The other class must have the domain attribute.

Returns
boolboolean

True if the domains are the same, False otherwise.