net.finmath.montecarlo.interestrate.modelplugins
Class LIBORCorrelationModel
- java.lang.Object
-
- net.finmath.montecarlo.interestrate.modelplugins.LIBORCorrelationModel
-
- Direct Known Subclasses:
- LIBORCorrelationModelExponentialDecay, LIBORCorrelationModelThreeParameterExponentialDecay
public abstract class LIBORCorrelationModel extends java.lang.ObjectAbstract base class and interface description of a correlation model (as it is used inLIBORCovarianceModelFromVolatilityAndCorrelation). Derive from this class and implement thegetFactorLoadingmethod. You have to call the constructor of this class to set the time discretizations.
-
-
Constructor Summary
Constructors Constructor and Description LIBORCorrelationModel(TimeDiscretizationInterface timeDiscretization, TimeDiscretizationInterface liborPeriodDiscretization)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description abstract java.lang.Objectclone()abstract doublegetCorrelation(int timeIndex, int component1, int component2)abstract doublegetFactorLoading(int timeIndex, int factor, int component)TimeDiscretizationInterfacegetLiborPeriodDiscretization()abstract intgetNumberOfFactors()abstract double[]getParameter()TimeDiscretizationInterfacegetTimeDiscretization()abstract voidsetParameter(double[] parameter)
-
-
-
Constructor Detail
-
LIBORCorrelationModel
public LIBORCorrelationModel(TimeDiscretizationInterface timeDiscretization, TimeDiscretizationInterface liborPeriodDiscretization)
-
-
Method Detail
-
getParameter
public abstract double[] getParameter()
-
setParameter
public abstract void setParameter(double[] parameter)
-
getFactorLoading
public abstract double getFactorLoading(int timeIndex, int factor, int component)
-
getCorrelation
public abstract double getCorrelation(int timeIndex, int component1, int component2)
-
getNumberOfFactors
public abstract int getNumberOfFactors()
-
getLiborPeriodDiscretization
public TimeDiscretizationInterface getLiborPeriodDiscretization()
- Returns:
- Returns the liborPeriodDiscretization.
-
getTimeDiscretization
public TimeDiscretizationInterface getTimeDiscretization()
- Returns:
- Returns the timeDiscretization.
-
clone
public abstract java.lang.Object clone()
- Overrides:
clonein classjava.lang.Object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG