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_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.