DADiSP Worksheet Functions > Function Categories > Polynomials > POLYINT
Performs polynomial integration.
POLYINT(p, k, form)
p |
- |
A series, the coefficients of the source polynomial. |
||||
k |
- |
Optional. A scalar, the integration constant. Defaults to 0.0. |
||||
form |
- |
Optional. An integer, the polynomial coefficient form:
|
A series, the resulting polynomial coefficients.
polyint({1, 2, 3})
returns the series {0.333, 1, 3, 0} representing the polynomial:
as the integration of:
polyint({1, 2, 3}, 10)
returns the series {0.333 , 1, 3, 10} representing the polynomial:
as the integration of:
with an integration constant of 10.0.
polyint({1, 2, 3}, 10, 0)
returns the series {10, 1, 1, 1} representing the polynomial:
as the integration of:
with an integration constant of 10.0.
polyder(polyint({1, 2, 3}))
returns the series {1, 2, 3} indicating that POLYDER is an inverse function of POLYINT.
If the input is a matrix, POLYINT considers each column to represent the polynomial coefficients with the result having the same number of columns as the input.
See POLYDER to calculate the derivative of a polynomial.