|
mlpack
3.0.4
|
If the FunctionType has static Evaluate() and static Gradient(), provide static EvaluateWithGradient(). More...
Static Public Member Functions | |
| static 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 static Evaluate() and static Gradient(), provide static EvaluateWithGradient().
Definition at line 204 of file add_evaluate_with_gradient.hpp.
|
inlinestatic |
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 214 of file add_evaluate_with_gradient.hpp.
1.8.5