CubicSpline.CreateAkima Method

Definition

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

Overload List

CreateAkima(IList<Point>) Constructs the natural cubic spline through a set of points.
CreateAkima(IList<Double>, IList<Double>) Constructs the cubic Akima spline through a set of points.

CreateAkima(IList<Point>)

Constructs the natural cubic spline through a set of points.
C#
public static CubicSpline CreateAkima(
	IList<Point> dataPoints
)

Parameters

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

Return Value

CubicSpline

Remarks

This method constructs an Akima spline which is robust against outliers.

Exceptions

ArgumentNullExceptiondataPoints is null.

CreateAkima(IList<Double>, IList<Double>)

Constructs the cubic Akima spline through a set of points.
C#
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

CubicSpline

Remarks

This method constructs an Akima spline which is robust against outliers.

Exceptions

ArgumentNullExceptionxValues is null.

-or-

yValues is null.

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

See Also