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

Method integ

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

Return an antiderivative (indefinite integral) of this polynomial. Refer to `polyint` for full documentation. See Also -------- polyint : equivalent function

(self, m=1, k=0)

Source from the content-addressed store, hash-verified

1436 return iter(self.coeffs)
1437
1438 def integ(self, m=1, k=0):
1439 """
1440 Return an antiderivative (indefinite integral) of this polynomial.
1441
1442 Refer to `polyint` for full documentation.
1443
1444 See Also
1445 --------
1446 polyint : equivalent function
1447
1448 """
1449 return poly1d(polyint(self.coeffs, m=m, k=k))
1450
1451 def deriv(self, m=1):
1452 """

Callers 4

test_poly1d_mathMethod · 0.45
test_objectsMethod · 0.45
test_complexMethod · 0.45
test_integ_coeffsMethod · 0.45

Calls 2

poly1dClass · 0.85
polyintFunction · 0.70

Tested by 4

test_poly1d_mathMethod · 0.36
test_objectsMethod · 0.36
test_complexMethod · 0.36
test_integ_coeffsMethod · 0.36