public interface SmileModelData
An implementation contains the data required for a volatility model.
This is used with VolatilityFunctionProvider.
| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfParameters()
Obtains the number of model parameters.
|
double |
getParameter(int index)
Obtains a model parameter specified by the index.
|
boolean |
isAllowed(int index,
double value)
Checks the value satisfies the constraint for a model parameter.
|
SmileModelData |
with(int index,
double value)
Creates a new smile model data bundle with a model parameter replaced.
|
int getNumberOfParameters()
double getParameter(int index)
index - the indexboolean isAllowed(int index,
double value)
The parameter is specified by index.
index - the indexvalue - the valueSmileModelData with(int index, double value)
The parameter is specified by index and replaced by value.
index - the indexvalue - the valueCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.