PolynomialFromPoints(Double) Method

Initializes a new polynomial that passes through the given points.

Definition

Namespace: Meta.Numerics
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static Polynomial FromPoints(
	double[,] points
)

Parameters

points  Double
An N X 2 array whose first column contains the x values of points and whose second column contains the corresponding y values.

Return Value

Polynomial
A polynomial of degree N-1 that passes through all the given points.

See Also