Cubic Spline.Create Akima Method
Definition
Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Create | Constructs the natural cubic spline through a set of points. |
Create | Constructs the cubic Akima spline through a set of points. |
CreateAkima(IList<Point>)
Constructs the natural cubic spline through a set of points.
public static CubicSpline CreateAkima(
IList<Point> dataPoints
)
Parameters
Return Value
CubicSplineRemarks
This method constructs an Akima spline which is robust against outliers.
Exceptions
Argument | dataPoints is null. |
CreateAkima(IList<Double>, IList<Double>)
Constructs the cubic Akima spline through a set of points.
public static CubicSpline CreateAkima(
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 method constructs an Akima spline which is robust against outliers.
Exceptions
Argument | xValues is null. -or- yValues is null. |
Dimension | The length of xValues does not equal the length of yValues. |