Constructs the interpolating polynomial through a
set of points.
Namespace:
Extreme.Mathematics.Curves
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Polynomial GetInterpolatingPolynomial(
double[] xValues,
double[] yValues
)
Public Shared Function GetInterpolatingPolynomial (
xValues As Double(),
yValues As Double()
) As Polynomial
public:
static Polynomial^ GetInterpolatingPolynomial(
array<double>^ xValues,
array<double>^ yValues
)
static member GetInterpolatingPolynomial :
xValues : float[] *
yValues : float[] -> Polynomial
Parameters
- xValues
- Type: SystemDouble
A Double array containing
the xValues-coordinates of the interpolation points. The
elements of this array must be distinct. - yValues
- Type: SystemDouble
A Double array containing
the yValues-coordinates of the interpolation points.
Return Value
Type:
PolynomialThe interpolating
Polynomial
for the specified points.
Reference