numpy / 1.18.5 / reference / generated / numpy.polynomial.polynomial.polynomial.has_samedomain.html /

numpy.polynomial.polynomial.Polynomial.has_samedomain

method

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

© 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.18/reference/generated/numpy.polynomial.polynomial.Polynomial.has_samedomain.html