mlpack  git-master
AddGradientConst< FunctionType, HasEvaluateWithGradient, true > Class Template Reference

Reflect the existing Gradient(). More...

Public Member Functions

void Gradient (const arma::mat &coordinates, arma::mat &gradient) const
 

Detailed Description


template<typename FunctionType, bool HasEvaluateWithGradient>
class mlpack::optimization::AddGradientConst< FunctionType, HasEvaluateWithGradient, true >

Reflect the existing Gradient().

Definition at line 97 of file add_gradient.hpp.

Member Function Documentation

◆ Gradient()

void Gradient ( const arma::mat &  coordinates,
arma::mat &  gradient 
) const
inline

Definition at line 101 of file add_gradient.hpp.


The documentation for this class was generated from the following file:
  • /var/www/www.mlpack.org/mlpack-git/src/mlpack/core/optimizers/function/add_gradient.hpp