public abstract class LIBORCorrelationModel extends Object implements Serializable
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(TimeDiscretization timeDiscretization,
TimeDiscretization liborPeriodDiscretization) |
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
clone() |
abstract LIBORCorrelationModel |
getCloneWithModifiedData(Map<String,Object> dataModified)
Returns a clone of this model where the specified properties have been modified.
|
abstract LIBORCorrelationModel |
getCloneWithModifiedParameter(RandomVariable[] parameter) |
abstract double |
getCorrelation(int timeIndex,
int component1,
int component2) |
abstract double |
getFactorLoading(int timeIndex,
int factor,
int component) |
TimeDiscretization |
getLiborPeriodDiscretization() |
abstract int |
getNumberOfFactors() |
abstract RandomVariable[] |
getParameter() |
double[] |
getParameterAsDouble() |
TimeDiscretization |
getTimeDiscretization() |
public LIBORCorrelationModel(TimeDiscretization timeDiscretization, TimeDiscretization liborPeriodDiscretization)
public abstract RandomVariable[] getParameter()
public abstract LIBORCorrelationModel getCloneWithModifiedParameter(RandomVariable[] 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 double[] getParameterAsDouble()
public TimeDiscretization getLiborPeriodDiscretization()
public TimeDiscretization getTimeDiscretization()
public abstract LIBORCorrelationModel getCloneWithModifiedData(Map<String,Object> dataModified)
dataModified. If data is provided which is ignored by the model
no exception may be thrown.
Furthermore the structure of the correlation model has to match changed data.
A change of the time discretizations may requires a change in the parameters
but this function will just insert the new time discretization without
changing the parameters. An exception may not be thrown.dataModified - Key-value-map of parameters to modify.Copyright © 2019. All rights reserved.