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

If we have EvaluateWithGradient() but no existing Evaluate(), add an Evaluate() method. More...

Public Member Functions

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

Detailed Description

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

If we have EvaluateWithGradient() but no existing Evaluate(), add an Evaluate() method.

Definition at line 59 of file add_evaluate.hpp.

Member Function Documentation

double Evaluate ( const arma::mat &  coordinates)
inline

Return the objective function for the given coordinates.

Parameters
coordinatesCoordinates to evaluate the function at.

Definition at line 67 of file add_evaluate.hpp.


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