(self, other)
| 1388 | __rtruediv__ = __rdiv__ |
| 1389 | |
| 1390 | def __eq__(self, other): |
| 1391 | if not isinstance(other, poly1d): |
| 1392 | return NotImplemented |
| 1393 | if self.coeffs.shape != other.coeffs.shape: |
| 1394 | return False |
| 1395 | return (self.coeffs == other.coeffs).all() |
| 1396 | |
| 1397 | def __ne__(self, other): |
| 1398 | if not isinstance(other, poly1d): |