MCPcopy Index your code
hub / github.com/numpy/numpy / deriv

Method deriv

numpy/lib/_polynomial_impl.py:1451–1462  ·  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

1449 return poly1d(polyint(self.coeffs, m=m, k=k))
1450
1451 def deriv(self, m=1):
1452 """
1453 Return a derivative of this polynomial.
1454
1455 Refer to `polyder` for full documentation.
1456
1457 See Also
1458 --------
1459 polyder : equivalent function
1460
1461 """
1462 return poly1d(polyder(self.coeffs, m=m))
1463
1464# Stuff to do on module import
1465

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