mlpack  git-master
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

◆ Evaluate()

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: