SciPy

numpy.polynomial.legendre.Legendre.has_samedomain

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