Table of Contents

Class CubicSplineOvershootingMinimization1

Namespace
NanoQL.Numerics
Assembly
NanoQL.dll

The cubic spline minimizing the overshooting of the first derivative.

public sealed class CubicSplineOvershootingMinimization1 : CubicInterpolation
Inheritance
CubicSplineOvershootingMinimization1
Inherited Members
Extension Methods

Remarks

QuantLib's convenience class: a CubicInterpolation with SplineOM1, monotonic false, and second-derivative boundary conditions of 0, which only the spline schemes read.

Constructors

CubicSplineOvershootingMinimization1(ReadOnlySpan<double>, ReadOnlySpan<double>)

Initializes a new instance of the CubicSplineOvershootingMinimization1 class.

public CubicSplineOvershootingMinimization1(ReadOnlySpan<double> x, ReadOnlySpan<double> y)

Parameters

x ReadOnlySpan<double>

The x values, which must be sorted; at least 2.

y ReadOnlySpan<double>

The y values, one per x value.

Exceptions

ArgumentException

The sizes differ, or there are too few points.