Table of Contents

Class ExtrapolatorExtensions

Namespace
NanoQL.Numerics
Assembly
NanoQL.dll

Extrapolator's modifiers, which return a modified copy of the receiver, keeping its static type, where QuantLib's change the object.

public static class ExtrapolatorExtensions
Inheritance
ExtrapolatorExtensions
Inherited Members

Methods

DisableExtrapolation<T>(T, bool)

A copy of the object with extrapolation disabled in subsequent calls.

public static T DisableExtrapolation<T>(this T x, bool b = true) where T : Extrapolator

Parameters

x T

The object.

b bool

Whether to disable it; false enables it.

Returns

T

The modified copy; the receiver is unchanged.

Type Parameters

T

The object's type.

EnableExtrapolation<T>(T, bool)

A copy of the object with extrapolation enabled in subsequent calls.

public static T EnableExtrapolation<T>(this T x, bool b = true) where T : Extrapolator

Parameters

x T

The object.

b bool

Whether to enable it; false disables it.

Returns

T

The modified copy; the receiver is unchanged.

Type Parameters

T

The object's type.