public class LognormalLIBORVolatility extends MultiFactorVolatility
Constructor and Description |
---|
LognormalLIBORVolatility(int iSpotDate,
ForwardLabel lslForward,
MarketSurface[] aMSVolatility,
PrincipalFactorSequenceGenerator pfsg)
LognormalLIBORVolatility Constructor
|
Modifier and Type | Method and Description |
---|---|
double[] |
continuousForwardVolatility(int iTargetDate,
ForwardCurve fc)
Compute the Volatility of the Continuously Compounded Forward Rate Up to the Target Date
|
double[] |
continuousForwardVolatility(int iTargetDate,
MergedDiscountForwardCurve dc)
Compute the Volatility of the Continuously Compounded Forward Rate Up to the Target Date
|
double[] |
continuousForwardVolatilityConstraint(ForwardCurve fc,
int iTargetDate)
Compute the Constraint in the Difference in the Volatility of the Continuously Compounded Forward Rate
between the Target Date and the Target Date + Forward Tenor
|
double |
crossVolatilityIntegralProduct(int iForwardDate1,
int iForwardDate2,
int iTerminalDate)
Multi-Factor Cross Volatility Integral
|
ForwardLabel |
forwardLabel()
Retrieve the Forward Label
|
int |
spotDate()
Retrieve the Spot Date
|
factorPointVolatility, factorPointVolatility, msg, pointVolatilityModulus, pointVolatilityModulusDerivative, volatilityIntegral, volatilitySurface, weightedFactorPointVolatility, xDateVolatilityFunction
public LognormalLIBORVolatility(int iSpotDate, ForwardLabel lslForward, MarketSurface[] aMSVolatility, PrincipalFactorSequenceGenerator pfsg) throws java.lang.Exception
iSpotDate
- The Spot DatelslForward
- The Forward LabelaMSVolatility
- Array of the Multi-Factor Volatility Surfacespfsg
- Principal Factor Sequence Generatorjava.lang.Exception
- Thrown if the Inputs are Invalidpublic int spotDate()
public ForwardLabel forwardLabel()
public double[] continuousForwardVolatilityConstraint(ForwardCurve fc, int iTargetDate)
fc
- The Forward Curve InstanceiTargetDate
- The Target Datepublic double[] continuousForwardVolatility(int iTargetDate, ForwardCurve fc)
iTargetDate
- The Target Datefc
- The Forward Curve Instancepublic double[] continuousForwardVolatility(int iTargetDate, MergedDiscountForwardCurve dc)
iTargetDate
- The Target Datedc
- The Discount Curve Instancepublic double crossVolatilityIntegralProduct(int iForwardDate1, int iForwardDate2, int iTerminalDate) throws java.lang.Exception
iForwardDate1
- Forward Date #1iForwardDate2
- Forward Date #2iTerminalDate
- The Terminal Datejava.lang.Exception
- Thrown if the Multi-Factor Cross Volatility Integral cannot be computed