Click or drag to resize

PolynomialFromCoefficients Method

Initializes a new polynomial with the given coefficients.

Namespace:  Meta.Numerics
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public static Polynomial FromCoefficients(
	params double[] coefficients
)

Parameters

coefficients
Type: SystemDouble
The coefficients of the polynomial.

Return Value

Type: Polynomial
The specified polynomial.
Remarks

Coefficients should be arranged from low to high order, so that the kth entry is the coefficient of xk. For example, to specify the polynomial 5 - 6 x + 7 x3, give the values 5, -6, , 0, 7.

See Also