rpoly

From STX Wiki
< Programmer Guide‎ | Command Reference‎ | EVAL
Revision as of 09:41, 15 May 2023 by Toni (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Evaluate polynom with real coefficients.

Usage
rpoly(a, x):
a
a vector containing the polynom coefficients
x
a scalar, vector or matrix
Result
The result y has the same type as x.
y[i,j] = a[0] + a[1]*x[i,j] + a[2]*x[i,j]^2 + ... + a[m]*x[i,j]^m
with: m = polynom order = ncol(a)-1
See also
rpolyreg, interp

<function list>

Navigation menu

Personal tools