public class LIBORCovarianceModelExponentialForm7Param extends AbstractLIBORCovarianceModelParametric
Constructor and Description |
---|
LIBORCovarianceModelExponentialForm7Param(TimeDiscretizationInterface timeDiscretization,
TimeDiscretizationInterface liborPeriodDiscretization,
int numberOfFactors) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
RandomVariableInterface[] |
getFactorLoading(int timeIndex,
int component,
RandomVariableInterface[] realizationAtTimeIndex)
Return the factor loading for a given time index and component index.
|
RandomVariable |
getFactorLoadingPseudoInverse(int timeIndex,
int component,
int factor,
RandomVariableInterface[] realizationAtTimeIndex)
Returns the pseudo inverse of the factor matrix.
|
double[] |
getParameter()
Get the parameters of determining this parametric
covariance model.
|
void |
setParameter(double[] parameter) |
getCloneCalibrated, getCloneCalibrated, getCloneWithModifiedParameters, toString
getCovariance, getCovariance, getFactorLoading, getFactorLoading, getLiborPeriodDiscretization, getNumberOfFactors, getTimeDiscretization
public LIBORCovarianceModelExponentialForm7Param(TimeDiscretizationInterface timeDiscretization, TimeDiscretizationInterface liborPeriodDiscretization, int numberOfFactors)
public Object clone()
clone
in class AbstractLIBORCovarianceModelParametric
public double[] getParameter()
AbstractLIBORCovarianceModelParametric
getParameter
in class AbstractLIBORCovarianceModelParametric
public void setParameter(double[] parameter)
setParameter
in class AbstractLIBORCovarianceModelParametric
public RandomVariableInterface[] getFactorLoading(int timeIndex, int component, RandomVariableInterface[] realizationAtTimeIndex)
AbstractLIBORCovarianceModel
getFactorLoading
in class AbstractLIBORCovarianceModel
timeIndex
- The time index at which factor loading is requested.component
- The index of the component i.realizationAtTimeIndex
- The realization of the stochastic process (may be used to implement local volatility/covariance/correlation models).public RandomVariable getFactorLoadingPseudoInverse(int timeIndex, int component, int factor, RandomVariableInterface[] realizationAtTimeIndex)
AbstractLIBORCovarianceModel
getFactorLoadingPseudoInverse
in class AbstractLIBORCovarianceModel
timeIndex
- The time index at which factor loading inverse is requested.component
- The index of the component i.factor
- The index of the factor j.realizationAtTimeIndex
- The realization of the stochastic process (may be used to implement local volatility/covariance/correlation models).Copyright © 2015. All rights reserved.