public interface NonLinearParameterTransforms
The model parameters are denoted as y and the unconstrained variables as y*, which are related by the vector function y* = f(y), and its inverse y = f-1(y*). The i,j element of the Jacobian is the rate of change of the ith element of y* with respect to the j th element of y, which is a (matrix) function of y, i.e. J(y). The inverse Jacobian is the rate of change of y with respect to y*, i.e. J-1(y*). These four functions must be provided by implementations of this interface.
| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfFittingParameters() |
int |
getNumberOfModelParameters() |
DoubleMatrix |
inverseJacobian(DoubleArray fittingParameters)
Calculates the inverse Jacobian - the rate of change of the model parameters WRT the fitting parameters.
|
DoubleArray |
inverseTransform(DoubleArray fittingParameters)
Transforms from a set of unconstrained fitting parameters to a (possibly larger) set of function parameters.
|
DoubleMatrix |
jacobian(DoubleArray modelParameters)
Calculates the Jacobian - the rate of change of the fitting parameters WRT the model parameters.
|
DoubleArray |
transform(DoubleArray modelParameters)
Transforms from a set of model parameters to a (possibly smaller) set of unconstrained fitting parameters.
|
int getNumberOfModelParameters()
int getNumberOfFittingParameters()
DoubleArray transform(DoubleArray modelParameters)
modelParameters - the model parametersDoubleArray inverseTransform(DoubleArray fittingParameters)
fittingParameters - The fitting parametersDoubleMatrix jacobian(DoubleArray modelParameters)
modelParameters - The model parametersDoubleMatrix inverseJacobian(DoubleArray fittingParameters)
fittingParameters - The fitting parametersCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.