Student[NumericalAnalysis][BasisFunctions] - return a list of the basis functions from a POLYINTERP structure
|
Calling Sequence
|
|
BasisFunctions(p)
BasisFunctions(p, indvar)
|
|
Parameters
|
|
p
|
-
|
a POLYINTERP structure
|
invar
|
-
|
(optional) name; the name to assign to the independent variable in the basis functions that are returned
|
|
|
|
|
Description
|
|
•
|
The BasisFunctions routine retrieves the basis functions from a POLYINTERP structure.
|
•
|
Only POLYINTERP structures that contain data points that have been interpolated using the Lagrange, Newton or Hermite methods can use the BasisFunctions command.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|

|
>
|
|
![[0.8888888889e-1*(x-.5)*(x-1.0)*(x-1.5)*(x-2.0)*(x-2.5)*(x-3.0), -.5333333333*x*(x-1.0)*(x-1.5)*(x-2.0)*(x-2.5)*(x-3.0), 1.333333333*x*(x-.5)*(x-1.5)*(x-2.0)*(x-2.5)*(x-3.0), -1.777777778*x*(x-.5)*(x-1.0)*(x-2.0)*(x-2.5)*(x-3.0), 1.333333333*x*(x-.5)*(x-1.0)*(x-1.5)*(x-2.5)*(x-3.0), -.5333333333*x*(x-.5)*(x-1.0)*(x-1.5)*(x-2.0)*(x-3.0), 0.8888888889e-1*x*(x-.5)*(x-1.0)*(x-1.5)*(x-2.0)*(x-2.5)]](/support/helpjp/helpview.aspx?si=4310/file05065/math103.png)
| (2) |
>
|
|
>
|
|
| (3) |
>
|

|
>
|
|
| (4) |
|
|
Download Help Document
Was this information helpful?