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
public static Polynomial FromCoefficients(
	params double[] coefficients


Type: SystemDouble
The coefficients of the polynomial.

Return Value

Type: Polynomial
The specified polynomial.

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