Cubic Spline.Create Not AKnot Method
Definition
Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Create | Constructs a cubic spline through a set of points with not-a-knot boundary conditions. |
Create | 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.
public static CubicSpline CreateNotAKnot(
IList<Point> dataPoints
)
Parameters
Return Value
CubicSplineRemarks
This constructor constructs a cubic spline where the second and third derivatives at the first and last interior data point are continuous.
Exceptions
Argument | dataPoints is null. |
CreateNotAKnot(IList<Double>, IList<Double>)
Constructs a cubic spline through a set of points with not-a-knot
boundary conditions.
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
CubicSplineRemarks
This constructor constructs a cubic spline where the second and third derivatives at the first and last interior data point are continuous.
Exceptions
Argument | xValues is null. -or- yValues is null. |
Dimension | The length of xValues does not equal the length of yValues. |