PolynomialFromPoints Method (Double) |
Initializes a new polynomial that passes through the given points.
Namespace:
Meta.Numerics
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax public static Polynomial FromPoints(
double[,] points
)
Public Shared Function FromPoints (
points As Double(,)
) As Polynomial
public:
static Polynomial^ FromPoints(
array<double,2>^ points
)
static member FromPoints :
points : float[,] -> Polynomial
Parameters
- points
- Type: SystemDouble
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
Type:
PolynomialA polynomial of degree N-1 that passes through all the given points.
See Also