mlpack  3.0.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
AddEvaluateStatic< FunctionType, true, false > Class Template Reference

If we have EvaluateWithGradient() but no existing Evaluate(), add an Evaluate() without a using directive to make the base Evaluate() accessible. More...

Static Public Member Functions

static double Evaluate (const arma::mat &coordinates)
 Return the objective function for the given coordinates. More...
 

Detailed Description

template<typename FunctionType>
class mlpack::optimization::AddEvaluateStatic< FunctionType, true, false >

If we have EvaluateWithGradient() but no existing Evaluate(), add an Evaluate() without a using directive to make the base Evaluate() accessible.

Definition at line 170 of file add_evaluate.hpp.

Member Function Documentation

static double Evaluate ( const arma::mat &  coordinates)
inlinestatic

Return the objective function for the given coordinates.

Parameters
coordinatesCoordinates to evaluate the function at.

Definition at line 178 of file add_evaluate.hpp.


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