numpy.polynomial.polynomial.Polynomial.has_samecoef
method
-
Polynomial.has_samecoef(self, 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.
-
© 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.19/reference/generated/numpy.polynomial.polynomial.Polynomial.has_samecoef.html