Evaluate a polynomial.
|
Parameters |
Description |
|
Val |
Stores values doe which the polynomial will be evaluated (x values). |
|
Coeff |
Stores polynomial coefficients for which the polynomial will be evaaluted. |
|
R |
Returns the Cholesky factor of the Vandermonde matrix. |
|
DegFreedom |
Returns the residuals degree of freedom. |
|
L2R |
Returns the L2 norm of the residuals. |
|
Results |
Returns the results P(x), evaluated at Val. |
|
Delta |
Returns the error estimates for Results. |
Evaluate a polynomial with coefficients Coeff at value Val. The order of polynomial (N) is determined as: N := Coeff.Length - 1. The algorithm employed uses Horners rule. The following formula is used to evaluate the polynomial:
P(x) = coeff[0]*x^n + coeff[1]*x^(n-1) + .. + coeff[n]
To estimate the error of polynomial interpolation after a call to PolyFit additional parameters have to be passed to the routine.
|
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|