LagrangeBasis - Lagrange polynomials on a set of nodes
|
Calling Sequence
|
|
LagrangeBasis(k, nodes, x)
|
|
Parameters
|
|
k
|
-
|
algebraic expression; the index
|
nodes
|
-
|
list of algebraic expressions; the nodes where the polynomial is known
|
x
|
-
|
algebraic expression; the argument
|
|
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
That polynomial has the value 3 at , the value 0 at , the value 5 at , and the value 7 at .
>
|
|
| (3) |
>
|
|
| (4) |
Note that the result returned by represents a matrix polynomial; hence these results are 1 by 1 matrices.
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
|
|
Download Help Document
Was this information helpful?