mlpack  git-master
AddEvaluateWithGradient< FunctionType, HasEvaluateGradient, true > Class Template Reference

Reflect the existing EvaluateWithGradient(). More...

Public Member Functions

double EvaluateWithGradient (const arma::mat &coordinates, arma::mat &gradient)
 

Detailed Description


template<typename FunctionType, bool HasEvaluateGradient>
class mlpack::optimization::AddEvaluateWithGradient< FunctionType, HasEvaluateGradient, true >

Reflect the existing EvaluateWithGradient().

Definition at line 55 of file add_evaluate_with_gradient.hpp.

Member Function Documentation

◆ EvaluateWithGradient()

double EvaluateWithGradient ( const arma::mat &  coordinates,
arma::mat &  gradient 
)
inline

Definition at line 59 of file add_evaluate_with_gradient.hpp.


The documentation for this class was generated from the following file: