public interface TermStructureFactorLoadingsModelInterface
| Modifier and Type | Method and Description |
|---|---|
RandomVariableInterface[] |
getFactorLoading(double time,
double periodStart,
double periodEnd,
TimeDiscretizationInterface periodDiscretization,
RandomVariableInterface[] realizationAtTimeIndex,
TermStructureModelInterface model)
Return the factor loading for a given time and a term structure period.
|
int |
getNumberOfFactors() |
RandomVariableInterface[] getFactorLoading(double time, double periodStart, double periodEnd, TimeDiscretizationInterface periodDiscretization, RandomVariableInterface[] realizationAtTimeIndex, TermStructureModelInterface model)
getTimeDiscretization
such that t_i ≤ t .
The component here, it given via a double T which may be associated with the LIBOR fixing date.
With respect to component time T, this method uses a piece wise constant interpolation, i.e.,
it calculates T_j such that T_j is the largest point in getTimeDiscretization
such that T_j ≤ T .time - The time t at which factor loading is requested.periodStart - Period start of the component.periodEnd - Period end of the component.periodDiscretization - The period discretization associated with the realizationAtTimeIndexrealizationAtTimeIndex - The realization of the stochastic process (may be used to implement local volatility/covariance/correlation models).model - The term structure model.int getNumberOfFactors()
Copyright © 2017. All rights reserved.