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

Method integ

numpy/lib/polynomial.py:1425–1436  ·  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

1423 return iter(self.coeffs)
1424
1425 def integ(self, m=1, k=0):
1426 """
1427 Return an antiderivative (indefinite integral) of this polynomial.
1428
1429 Refer to `polyint` for full documentation.
1430
1431 See Also
1432 --------
1433 polyint : equivalent function
1434
1435 """
1436 return poly1d(polyint(self.coeffs, m=m, k=k))
1437
1438 def deriv(self, m=1):
1439 """

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