|
mlpack
3.0.4
|
If the FunctionType has Evaluate() and Gradient(), provide EvaluateWithGradient(). More...
Public Member Functions | |
| double | EvaluateWithGradient (const arma::mat &coordinates, arma::mat &gradient) |
| Return both the evaluated objective function and its gradient, storing the gradient in the given matrix. More... | |
If the FunctionType has Evaluate() and Gradient(), provide EvaluateWithGradient().
Definition at line 72 of file add_evaluate_with_gradient.hpp.
|
inline |
Return both the evaluated objective function and its gradient, storing the gradient in the given matrix.
| coordinates | Coordinates to evaluate the function at. |
| gradient | Matrix to store the gradient into. |
Definition at line 82 of file add_evaluate_with_gradient.hpp.
1.8.5