Click or drag to resize

CubicSpline Class

Cubic Spline Interpolation.
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.InterpolationCubicSpline

Namespace: Altaxo.Calc.Interpolation
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class CubicSpline : IInterpolation

The CubicSpline type exposes the following members.

Constructors
 NameDescription
Public methodCubicSplineInitializes a new instance of the CubicSpline class
Top
Methods
 NameDescription
Public methodDifferentiate Differentiate at point t.
Public methodDifferentiate2 Differentiate twice at point t.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExtrema Returns the t values in the domain of the spline for which it takes the minimum and maximum value.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIntegrate(Double) Indefinite integral at point t.
Public methodIntegrate(Double, Double) Definite integral between points a and b.
Public methodInterpolate Interpolate at point t.
Public methodStatic memberInterpolateAkima Create an Akima cubic spline interpolation from an unsorted set of (x,y) value pairs. Akima splines are robust to outliers.
Public methodStatic memberInterpolateAkimaInplace Create an Akima cubic spline interpolation from an unsorted set of (x,y) value pairs. Akima splines are robust to outliers. WARNING: Works in-place and can thus causes the data array to be reordered.
Public methodStatic memberInterpolateAkimaSorted Create an Akima cubic spline interpolation from a set of (x,y) value pairs, sorted ascendingly by x. Akima splines are robust to outliers.
Public methodStatic memberInterpolateBoundaries Create a cubic spline interpolation from an unsorted set of (x,y) value pairs and custom boundary/termination conditions.
Public methodStatic memberInterpolateBoundariesInplace Create a cubic spline interpolation from an unsorted set of (x,y) value pairs and custom boundary/termination conditions. WARNING: Works in-place and can thus causes the data array to be reordered.
Public methodStatic memberInterpolateBoundariesSorted Create a cubic spline interpolation from a set of (x,y) value pairs, sorted ascendingly by x, and custom boundary/termination conditions.
Public methodStatic memberInterpolateHermite Create a Hermite cubic spline interpolation from an unsorted set of (x,y) value pairs and their slope (first derivative).
Public methodStatic memberInterpolateHermiteInplace Create a Hermite cubic spline interpolation from an unsorted set of (x,y) value pairs and their slope (first derivative). WARNING: Works in-place and can thus causes the data array to be reordered.
Public methodStatic memberInterpolateHermiteSorted Create a Hermite cubic spline interpolation from a set of (x,y) value pairs and their slope (first derivative), sorted ascendingly by x.
Public methodStatic memberInterpolateNatural Create a natural cubic spline interpolation from an unsorted set of (x,y) value pairs and zero second derivatives at the two boundaries.
Public methodStatic memberInterpolateNaturalInplace Create a natural cubic spline interpolation from an unsorted set of (x,y) value pairs and zero second derivatives at the two boundaries. WARNING: Works in-place and can thus causes the data array to be reordered.
Public methodStatic memberInterpolateNaturalSorted Create a natural cubic spline interpolation from a set of (x,y) value pairs and zero second derivatives at the two boundaries, sorted ascendingly by x.
Public methodStatic memberInterpolatePchip Create a piecewise cubic Hermite interpolating polynomial from an unsorted set of (x,y) value pairs. Monotone-preserving interpolation with continuous first derivative.
Public methodStatic memberInterpolatePchipInplace Create a piecewise cubic Hermite interpolating polynomial from an unsorted set of (x,y) value pairs. Monotone-preserving interpolation with continuous first derivative. WARNING: Works in-place and can thus causes the data array to be reordered.
Public methodStatic memberInterpolatePchipSorted Create a piecewise cubic Hermite interpolating polynomial from an unsorted set of (x,y) value pairs. Monotone-preserving interpolation with continuous first derivative.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStationaryPoints Gets all the t values where the derivative is 0 see: https://mathworld.wolfram.com/StationaryPoint.html
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
Supports both differentiation and integration.
See Also