Namespaces

Types in MathNet.Numerics

Type Evaluate

Namespace MathNet.Numerics

Evaluation functions, useful for function approximation.

Static Functions

Public Static Functions

double Polynomial(double z, Double[] coefficients)

Evaluate a polynomial at point x. Coefficients are ordered by power with power k at index k. Example: coefficients [3,-1,2] represent y=2x^2-x+3.
Parameters
double z

The location where to evaluate the polynomial at.

Double[] coefficients

The coefficients of the polynomial, coefficient for power k at index k.

Complex Polynomial(Complex z, Double[] coefficients)

Evaluate a polynomial at point x. Coefficients are ordered by power with power k at index k. Example: coefficients [3,-1,2] represent y=2x^2-x+3.
Parameters
Complex z

The location where to evaluate the polynomial at.

Double[] coefficients

The coefficients of the polynomial, coefficient for power k at index k.

Complex Polynomial(Complex z, Complex[] coefficients)

Evaluate a polynomial at point x. Coefficients are ordered by power with power k at index k. Example: coefficients [3,-1,2] represent y=2x^2-x+3.
Parameters
Complex z

The location where to evaluate the polynomial at.

Complex[] coefficients

The coefficients of the polynomial, coefficient for power k at index k.