MCPcopy Create free account
hub / github.com/numpy/numpy / deriv

Method deriv

numpy/lib/polynomial.py:1438–1449  ·  view source on GitHub ↗

Return a derivative of this polynomial. Refer to `polyder` for full documentation. See Also -------- polyder : equivalent function

(self, m=1)

Source from the content-addressed store, hash-verified

1436 return poly1d(polyint(self.coeffs, m=m, k=k))
1437
1438 def deriv(self, m=1):
1439 """
1440 Return a derivative of this polynomial.
1441
1442 Refer to `polyder` for full documentation.
1443
1444 See Also
1445 --------
1446 polyder : equivalent function
1447
1448 """
1449 return poly1d(polyder(self.coeffs, m=m))
1450
1451# Stuff to do on module import
1452

Callers 3

test_poly1d_mathMethod · 0.45
test_objectsMethod · 0.45
test_complexMethod · 0.45

Calls 2

poly1dClass · 0.85
polyderFunction · 0.70

Tested by 3

test_poly1d_mathMethod · 0.36
test_objectsMethod · 0.36
test_complexMethod · 0.36