numpy / 1.15.4 / generated / numpy.polynomial.polynomial.polynomial.has_samecoef.html /

numpy.polynomial.polynomial.Polynomial.has_samecoef

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