|
Contents | Previous | Next | Subchapters |
| Syntax |
monomial(n, k, p) |
| See Also | polval , polder |
The monomial is defined by
n(1) n(2) n(N)
m(x) = x * x * . . . * x
1 2 N
where N is the length of the vector n.
The vector k specifies the derivative
k(1) k(2) k(N)
d d d
------- ------- . . . ------- m(x)
k(1) k(2) k(N)
d x d x d x
Hence, if all the elements of k are zero,
the derivative is equal to m(x).
2 3
m(x) = x * x
1 2
The value of m(x) at the point [1, 2] is 8.
We compute this value as follows
n = [2, 3]
k = [0, 0]
p = [1, 2]
monomial(n, k, p)
The partial of m(x) with respect to the second
component of x at the point [1, 2] is 12.
This can be computed by continuing the previous example with
k = [0, 1]
monomial(n, k, p)