|
mlpack
3.0.4
|
If we have EvaluateWithGradient() but no existing Gradient(), add a Gradient() without a using directive to make the base Gradient() accessible. More...
Static Public Member Functions | |
| static void | Gradient (const arma::mat &coordinates, arma::mat &gradient) |
| Calculate the gradient and store it in the given matrix. More... | |
If we have EvaluateWithGradient() but no existing Gradient(), add a Gradient() without a using directive to make the base Gradient() accessible.
Definition at line 168 of file add_gradient.hpp.
|
inlinestatic |
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 177 of file add_gradient.hpp.
1.8.5