CubicSplineInterpolateBoundaries Method |
Create a cubic spline interpolation from an unsorted set of (x,y) value pairs and custom boundary/termination conditions.
Namespace: Altaxo.Calc.InterpolationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static CubicSpline InterpolateBoundaries(
IEnumerable<double> x,
IEnumerable<double> y,
SplineBoundaryCondition leftBoundaryCondition,
double leftBoundary,
SplineBoundaryCondition rightBoundaryCondition,
double rightBoundary
)
Parameters
- x IEnumerableDouble
- The sample points.
- y IEnumerableDouble
- The sample values corresponding to x.
- 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
CubicSplineThe cubic spline interpolator.
See Also