Click or drag to resize

CubicSplineInterpolateBoundariesInplace Method

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.

Namespace: Altaxo.Calc.Interpolation
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static CubicSpline InterpolateBoundariesInplace(
	double[] x,
	double[] y,
	SplineBoundaryCondition leftBoundaryCondition,
	double leftBoundary,
	SplineBoundaryCondition rightBoundaryCondition,
	double rightBoundary
)

Parameters

x  Double
Sample points (will be sorted in-place).
y  Double
Sample values corresponding to x (will be permuted accordingly).
leftBoundaryCondition  SplineBoundaryCondition
Boundary condition for the left endpoint.
leftBoundary  Double
Value for the left boundary.
rightBoundaryCondition  SplineBoundaryCondition
Boundary condition for the right endpoint.
rightBoundary  Double
Value for the right boundary.

Return Value

CubicSpline
The cubic spline interpolator.
See Also