numpy.polynomial.legendre.Legendre.has_samecoef#

method

polynomial.legendre.Legendre.has_samecoef(other)[source]#

Check if coefficients match.

New in version 1.6.0.

Parameters:
otherclass instance

The other class must have the coef attribute.

Returns:
boolboolean

True if the coefficients are the same, False otherwise.