PolynomialFromCoefficients Method

Initializes a new polynomial with the given coefficients.

Definition

Namespace: Meta.Numerics
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static Polynomial FromCoefficients(
	params double[] coefficients
)

Parameters

coefficients  Double
The coefficients of the polynomial.

Return Value

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