ILNumerics - Technical Application Development
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
The value of a polynomial of degree d at position x, with d=c.lenght-1
If the input position is an array, the evaluation will be done elementwise
Polynomial evaluation
[ILNumerics Computing Engine]
Namespace: ILNumerics
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax
Parameters
- c
- Type: ILNumericsInArraySingle
Vector of coefficients of the polynomial - x
- Type: ILNumericsInArraySingle
Position where the polynomial is to be evaluated. The position may be either a scalar, a vector or a matrix.
Return Value
Type: RetArraySingleThe value of a polynomial of degree d at position x, with d=c.lenght-1
Remarks
[ILNumerics Computing Engine]
Examples
//Evaluation of the polynomial 1+x+2.1 x + x^2+3x^3 at (1,1,1) Array<float> y = Optimization.poly(ILMath.array<float>(1.0, 2.1, 1.0, 3.0),ILMath.ones<float>(3, 1));
See Also