|
mlpack
3.0.4
|
If the FunctionType has EvaluateWithGradient() but not Gradient(), provide that function. More...

Public Member Functions | |
| void | Gradient (const arma::mat &coordinates, const size_t begin, arma::mat &gradient, const size_t batchSize) |
| Calculate the gradient and store it in the given matrix. More... | |
If the FunctionType has EvaluateWithGradient() but not Gradient(), provide that function.
Definition at line 164 of file add_decomposable_evaluate_with_gradient_const.hpp.
|
inline |
Calculate the gradient and store it in the given matrix.
| coordinates | Coordinates to evaluate the function at. |
| gradient | Matrix to store the gradient into. |
Definition at line 174 of file add_decomposable_evaluate_with_gradient_const.hpp.
1.8.5