numpy / 1.13.0 / generated / numpy.polynomial.legendre.legendre.has_samecoef.html /

numpy.polynomial.legendre.Legendre.has_samecoef

Legendre.has_samecoef(other) [source]

Check if coefficients match.

New in version 1.6.0.

Parameters:

other : class instance

The other class must have the coef attribute.

Returns:

bool : boolean

True if the coefficients are the same, False otherwise.