Student[NumericalAnalysis][Interpolant] - return the interpolated polynomial from a POLYINTERP structure
|
Calling Sequence
|
|
Interpolant(p, opts)
|
|
Parameters
|
|
p
|
-
|
a POLYINTERP structure
|
opts
|
-
|
(optional) equations of the form keyword=value where keyword is independentvar; options for returning the interpolant
|
|
|
|
|
Description
|
|
•
|
The Interpolant command retrieves the interpolated polynomial from a POLYINTERP structure.
|
•
|
In order to perform an interpolation, the PolynomialInterpolation command or CubicSpline command is used first, where all options are chosen and the interpolation is performed. Then the Interpolant command can be used to extract the interpolating polynomial.
|
|
|
Options
|
|
|
A name for the independent variable in the polynomial. By default, the name given in the PolynomialInterpolation call is used.
|
|
|
Notes
|
|
•
|
You may want to use the expand command to get the polynomial into a nicer form, since the Interpolant command returns the polynomial in factored form.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
>
|
|
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
>
|
|
| (5) |
|
|
Download Help Document
Was this information helpful?