Description Usage Arguments Details Value See Also Examples
Evaluate polynomial on vector or matrix.
1 2 3 |
p |
vector representing a polynomial. |
x |
vector of values where to evaluate the polynomial. |
A |
matrix; needs to be square. |
polyval
valuates the polynomial given by p
at the
values specified by the elements of x
. If x
is
a matrix, the polynomial will be evaluated at each element and
a matrix returned.
polyvalm
will evaluate the polynomial in the matrix sense,
i.e., matrix multiplication is used instead of element by element
multiplication as used in 'polyval'. The argument matrix A
must be a square matrix.
Vector of values, resp. a matrix.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.