ParameterID
- an enum that defines the parameter indexpublic interface DerivableMatrixFunction<ParameterID>
Modifier and Type | Method and Description |
---|---|
Matrix |
getGradient(ParameterID parameter)
This method returns a vector that contains the first derivatives of the function with respect to its parameters.
|
Matrix |
getHessian(ParameterID parameter1,
ParameterID parameter2)
This method returns a matrix that contains the second derivatives of the matrix function with respect
to its parameters.
|
Matrix getGradient(ParameterID parameter)
parameter
- a parameter with respect to the matrix function has to be derivedMatrix getHessian(ParameterID parameter1, ParameterID parameter2)
parameter1
- the index of the first parameterparameter2
- the index of the second parameter