Table of Contents

Class FritschButlandLogCubic

Namespace
NanoQL.Numerics
Assembly
NanoQL.dll

Log-cubic interpolation with the Fritsch–Butland first-derivative approximation of the logarithms.

public sealed class FritschButlandLogCubic : LogCubicInterpolation
Inheritance
FritschButlandLogCubic
Inherited Members
Extension Methods

Remarks

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

Constructors

FritschButlandLogCubic(ReadOnlySpan<double>, ReadOnlySpan<double>)

Initializes a new instance of the FritschButlandLogCubic class.

public FritschButlandLogCubic(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, each positive.

Exceptions

ArgumentException

The sizes differ, there are too few points, or a y value isn't positive.