(self, other)
| 1358 | return poly1d(polymul(self.coeffs, other.coeffs)) |
| 1359 | |
| 1360 | def __rmul__(self, other): |
| 1361 | if isscalar(other): |
| 1362 | return poly1d(other * self.coeffs) |
| 1363 | else: |
| 1364 | other = poly1d(other) |
| 1365 | return poly1d(polymul(self.coeffs, other.coeffs)) |
| 1366 | |
| 1367 | def __add__(self, other): |
| 1368 | other = poly1d(other) |