CubicSpline Class Members
The following tables list the members exposed by CubicSpline.
Public Constructors
Name | Description | |
---|---|---|
CubicSpline Constructor | Overloaded. |
Public Methods
Name | Description | |
---|---|---|
Compute | Static all-in-one method to fit the splines and evaluate at X coordinates. | |
Eval | Evaluate the spline at the specified x coordinates. This can extrapolate off the ends of the splines. You must provide X's in ascending order. The spline must already be computed before calling this, meaning you must have already called Fit() or FitAndEval(). | |
EvalSlope | Evaluate (compute) the slope of the spline at the specified x coordinates. This can extrapolate off the ends of the splines. You must provide X's in ascending order. The spline must already be computed before calling this, meaning you must have already called Fit() or FitAndEval(). | |
Fit | Compute spline coefficients for the specified x,y points. This does the "natural spline" style for ends. This can extrapolate off the ends of the splines. You must provide points in X sort order. | |
FitAndEval | Fit x,y and then eval at points xs and return the corresponding y's. This does the "natural spline" style for ends. This can extrapolate off the ends of the splines. You must provide points in X sort order. | |
FitGeometric | Fit the input x,y points using a 'geometric' strategy so that y does not have to be a single-valued function of x. |
Extension Methods
Name | Description | |
---|---|---|
DebugFinalizer<T> | Notifies that finalizer has been invoked | |
ToDoubleArray | Overloaded. Converts an System.IComparable array to double array | |
ToEnumerable<T> | Yields a single item, converting it to System.Collections.IEnumerable. | |
ToStringArray2D<T> |
See Also