CubicSpline.CreateNotAKnot Method

Definition

Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

CreateNotAKnot(IList<Point>) Constructs a cubic spline through a set of points with not-a-knot boundary conditions.
CreateNotAKnot(IList<Double>, IList<Double>) Constructs a cubic spline through a set of points with not-a-knot boundary conditions.

CreateNotAKnot(IList<Point>)

Constructs a cubic spline through a set of points with not-a-knot boundary conditions.
C#
public static CubicSpline CreateNotAKnot(
	IList<Point> dataPoints
)

Parameters

dataPoints  IList<Point>
An list of Point values containing the data points.

Return Value

CubicSpline

Remarks

This constructor constructs a cubic spline where the second and third derivatives at the first and last interior data point are continuous.

Exceptions

ArgumentNullExceptiondataPoints is null.

CreateNotAKnot(IList<Double>, IList<Double>)

Constructs a cubic spline through a set of points with not-a-knot boundary conditions.
C#
public static CubicSpline CreateNotAKnot(
	IList<double> xValues,
	IList<double> yValues
)

Parameters

xValues  IList<Double>
A Double list containing the x-values of the data points.
yValues  IList<Double>
A Double list containing the y-values corresponding to the values in xValues.

Return Value

CubicSpline

Remarks

This constructor constructs a cubic spline where the second and third derivatives at the first and last interior data point are continuous.

Exceptions

ArgumentNullExceptionxValues is null.

-or-

yValues is null.

DimensionMismatchException The length of xValues does not equal the length of yValues.

See Also