Cubic Spline.Create Monotonic Method
Definition
Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Create | Constructs a cubic spline through a set of points that preserves monotonicity. |
Create | Constructs a cubic spline through a set of points that preserves monotonicity. |
CreateMonotonic(IList<Point>)
Constructs a cubic spline through a set of points that
preserves monotonicity.
public static CubicSpline CreateMonotonic(
IList<Point> dataPoints
)
Parameters
Return Value
CubicSplineRemarks
This constructor constructs a cubic spline where the function is monotonically increasing or decreasing on each interval.
The algorithm used is by Fritsch and Butland.
Exceptions
Argument | dataPoints is null. |
CreateMonotonic(IList<Double>, IList<Double>)
Constructs a cubic spline through a set of points that
preserves monotonicity.
public static CubicSpline CreateMonotonic(
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 function is monotonically increasing or decreasing on each interval.
The algorithm used is by Fritsch and Butland.
Exceptions
Argument | xValues is null.
-or- yValues is null. |
Dimension | The length of xValues does not equal the length of yValues. |