public abstract class LIBORCorrelationModel extends Object
LIBORCovarianceModelFromVolatilityAndCorrelation
).
Derive from this class and implement the getFactorLoading
method.
You have to call the constructor of this class to set the time
discretizations.Constructor and Description |
---|
LIBORCorrelationModel(TimeDiscretizationInterface timeDiscretization,
TimeDiscretizationInterface liborPeriodDiscretization) |
Modifier and Type | Method and Description |
---|---|
abstract Object |
clone() |
abstract double |
getCorrelation(int timeIndex,
int component1,
int component2) |
abstract double |
getFactorLoading(int timeIndex,
int factor,
int component) |
TimeDiscretizationInterface |
getLiborPeriodDiscretization() |
abstract int |
getNumberOfFactors() |
abstract double[] |
getParameter() |
TimeDiscretizationInterface |
getTimeDiscretization() |
abstract void |
setParameter(double[] parameter) |
public LIBORCorrelationModel(TimeDiscretizationInterface timeDiscretization, TimeDiscretizationInterface liborPeriodDiscretization)
public abstract double[] getParameter()
public abstract void setParameter(double[] parameter)
public abstract double getFactorLoading(int timeIndex, int factor, int component)
public abstract double getCorrelation(int timeIndex, int component1, int component2)
public abstract int getNumberOfFactors()
public TimeDiscretizationInterface getLiborPeriodDiscretization()
public TimeDiscretizationInterface getTimeDiscretization()
Copyright © 2017. All rights reserved.