Class ExtrapolatorExtensions
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
Returns
- T
The modified copy; the receiver is unchanged.
Type Parameters
TThe 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
Returns
- T
The modified copy; the receiver is unchanged.
Type Parameters
TThe object's type.