Table of Contents

Class FritschButlandCubic

Namespace
NanoQL.Numerics
Assembly
NanoQL.dll

Cubic interpolation with the Fritsch–Butland first-derivative approximation and Hyman's monotonicity filter.

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

Remarks

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

Constructors

FritschButlandCubic(ReadOnlySpan<double>, ReadOnlySpan<double>)

Initializes a new instance of the FritschButlandCubic class.

public FritschButlandCubic(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.