public abstract class LIBORVolatilityModel extends Object
LIBORCovarianceModelFromVolatilityAndCorrelation).
Derive from this class and implement the getVolatlity method.
You have to call the constructor of this class to set the time
discretizations.| Constructor and Description |
|---|
LIBORVolatilityModel(TimeDiscretizationInterface timeDiscretization,
TimeDiscretizationInterface liborPeriodDiscretization) |
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
clone() |
TimeDiscretizationInterface |
getLiborPeriodDiscretization() |
abstract double[] |
getParameter() |
TimeDiscretizationInterface |
getTimeDiscretization() |
abstract RandomVariableInterface |
getVolatility(int timeIndex,
int component)
Implement this method to complete the implementation.
|
abstract void |
setParameter(double[] parameter) |
public LIBORVolatilityModel(TimeDiscretizationInterface timeDiscretization, TimeDiscretizationInterface liborPeriodDiscretization)
timeDiscretization - The vector of simulation time discretization points.liborPeriodDiscretization - The vector of tenor discretization points.public abstract double[] getParameter()
public abstract void setParameter(double[] parameter)
public abstract RandomVariableInterface getVolatility(int timeIndex, int component)
timeIndex - The time index (for timeDiscretization)component - The libor index (for liborPeriodDiscretization)public TimeDiscretizationInterface getLiborPeriodDiscretization()
public TimeDiscretizationInterface getTimeDiscretization()
Copyright © 2015. All rights reserved.