public class MultiFactorStateEvolver extends java.lang.Object implements PointStateEvolver
Constructor and Description |
---|
MultiFactorStateEvolver(FundingLabel lslFunding,
ForwardLabel lslForward,
MultiFactorVolatility mfv,
R1ToR1 auInitialInstantaneousForwardRate)
MultiFactorStateEvolver Constructor
|
Modifier and Type | Method and Description |
---|---|
double |
compoundedShortRateIncrement(int iSpotDate,
int iViewDate,
int iTargetDate,
double dblCompoundedShortRate,
double dblShortRate,
int iViewTimeIncrement)
Compute the Continuously Compounded Short Rate Increment given the Spot Date, the View Date, the
Target Date, the Continuously Compounded Short Rate, the Current Short Rate, and the View Time
Increment.
|
LSQMPointUpdate |
evolve(int iSpotDate,
int iViewDate,
int iSpotTimeIncrement,
LSQMPointUpdate lsqmPrev)
Evolve the Latent State and return the LSQM Point Update
|
ForwardLabel |
forwardLabel()
Retrieve the Forward Label
|
FundingLabel |
fundingLabel()
Retrieve the Funding Label
|
R1ToR1 |
instantaneousForwardInitialTermStructure()
Retrieve the Initial Instantaneous Forward Rate Term Structure
|
double |
instantaneousForwardRateIncrement(int iViewDate,
int iTargetDate,
int iViewTimeIncrement)
Compute the Instantaneous Forward Rate Increment given the View Date, the Target Date, and the View
Time Increment
|
double |
liborForwardRateIncrement(int iSpotDate,
int iViewDate,
int iTargetDate,
double dblLIBORForwardRate,
int iViewTimeIncrement)
Compute the LIBOR Forward Rate Increment given the Spot Date, the View Date, the Target Date, the
Current LIBOR Forward Rate, and the View Time Increment
|
MultiFactorVolatility |
mfv()
Retrieve the Multi-factor Volatility Instance
|
double |
proportionalPriceIncrement(int iViewDate,
int iTargetDate,
double dblShortRate,
int iViewTimeIncrement)
Compute the Proportional Price Increment given the View Date, the Target Date, the Short Rate, and the
View Time Increment
|
double |
shiftedLIBORForwardIncrement(int iSpotDate,
int iViewDate,
int iTargetDate,
double dblShiftedLIBORForwardRate,
int iViewTimeIncrement)
Compute the Shifted LIBOR Forward Rate Increment given the Spot Date, the View Date, the Target Date,
the Current Shifted LIBOR Forward Rate, and the View Time Increment
|
double |
shortRateIncrement(int iSpotDate,
int iViewDate,
int iViewTimeIncrement)
Compute the Short Rate Increment given the Spot Date, the View Date, and the View Time Increment
|
public MultiFactorStateEvolver(FundingLabel lslFunding, ForwardLabel lslForward, MultiFactorVolatility mfv, R1ToR1 auInitialInstantaneousForwardRate) throws java.lang.Exception
lslFunding
- The Funding Latent State LabellslForward
- The Forward Latent State Labelmfv
- The Multi-Factor Volatility InstanceauInitialInstantaneousForwardRate
- The Initial Instantaneous Forward Rate Term Structurejava.lang.Exception
- Thrown if Inputs are Invalidpublic FundingLabel fundingLabel()
public ForwardLabel forwardLabel()
public MultiFactorVolatility mfv()
public R1ToR1 instantaneousForwardInitialTermStructure()
public double instantaneousForwardRateIncrement(int iViewDate, int iTargetDate, int iViewTimeIncrement) throws java.lang.Exception
iViewDate
- The View DateiTargetDate
- The Target DateiViewTimeIncrement
- The View Time Incrementjava.lang.Exception
- Thrown if the Instantaneous Forward Rate Increment cannot be computedpublic double proportionalPriceIncrement(int iViewDate, int iTargetDate, double dblShortRate, int iViewTimeIncrement) throws java.lang.Exception
iViewDate
- The View DateiTargetDate
- The Target DatedblShortRate
- The Short RateiViewTimeIncrement
- The View Time Incrementjava.lang.Exception
- Thrown if the Proportional Price Increment cannot be computedpublic double shortRateIncrement(int iSpotDate, int iViewDate, int iViewTimeIncrement) throws java.lang.Exception
iSpotDate
- The Spot DateiViewDate
- The View DateiViewTimeIncrement
- The View Time Incrementjava.lang.Exception
- Thrown if the Short Rate Increment cannot be computedpublic double compoundedShortRateIncrement(int iSpotDate, int iViewDate, int iTargetDate, double dblCompoundedShortRate, double dblShortRate, int iViewTimeIncrement) throws java.lang.Exception
iSpotDate
- The Spot DateiViewDate
- The View DateiTargetDate
- The Target DatedblCompoundedShortRate
- The Compounded Short RatedblShortRate
- The Short RateiViewTimeIncrement
- The View Time Incrementjava.lang.Exception
- Thrown if the Continuously Compounded Short Rate Increment cannot be
computedpublic double liborForwardRateIncrement(int iSpotDate, int iViewDate, int iTargetDate, double dblLIBORForwardRate, int iViewTimeIncrement) throws java.lang.Exception
iSpotDate
- The Spot DateiViewDate
- The View DateiTargetDate
- The Target DatedblLIBORForwardRate
- The LIBOR Forward RateiViewTimeIncrement
- The View Time Incrementjava.lang.Exception
- Thrown if the LIBOR Forward Rate Increment cannot be computedpublic double shiftedLIBORForwardIncrement(int iSpotDate, int iViewDate, int iTargetDate, double dblShiftedLIBORForwardRate, int iViewTimeIncrement) throws java.lang.Exception
iSpotDate
- The Spot DateiViewDate
- The View DateiTargetDate
- The Target DatedblShiftedLIBORForwardRate
- The Shifted LIBOR Forward RateiViewTimeIncrement
- The View Time Incrementjava.lang.Exception
- Thrown if the Shifted LIBOR Forward Rate Increment cannot be computedpublic LSQMPointUpdate evolve(int iSpotDate, int iViewDate, int iSpotTimeIncrement, LSQMPointUpdate lsqmPrev)
PointStateEvolver
evolve
in interface PointStateEvolver
iSpotDate
- The Spot DateiViewDate
- The View DateiSpotTimeIncrement
- The Spot Time IncrementlsqmPrev
- The Previous LSQM Point Update