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

◆ Evaluate()

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:
  • /var/www/www.mlpack.org/mlpack-git/src/mlpack/core/optimizers/function/add_evaluate.hpp