Class FdmZabrVolatilityPart
- Namespace
- NanoQL.Experimental
- Assembly
- NanoQL.dll
The ZABR operator's volatility part, ½ν²v2γ·∂²/∂v² on a mesher whose first direction is the forward and second the volatility v.
[Experimental("NQL0001")]
public sealed class FdmZabrVolatilityPart
- Inheritance
-
FdmZabrVolatilityPart
- Inherited Members
Remarks
Immutable: its band is built at construction, and SetTime(double, double) changes nothing, as QuantLib's. Experimental, as in QuantLib.
Constructors
FdmZabrVolatilityPart(FdmMesher, double, double, double, double)
Initializes a new instance of the FdmZabrVolatilityPart class.
public FdmZabrVolatilityPart(FdmMesher mesher, double beta, double nu, double rho, double gamma)
Parameters
mesherFdmMesherThe mesher: the forward, then the volatility.
betadoubleβ, which this part doesn't read.
nudoubleν.
rhodoubleρ, which this part doesn't read.
gammadoubleγ.
Exceptions
- ArgumentNullException
mesheris null.- ArgumentException
mesherhas fewer than two directions, where QuantLib reads past its layout.
Properties
Map
Gets the part's operator.
public TripleBandLinearOp Map { get; }
Property Value
Methods
SetTime(double, double)
Sets the time step: nothing changes with time.
public void SetTime(double t1, double t2)