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

Public Member Functions

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

 

Detailed Description


template
<
typename
FunctionType
>

class mlpack::optimization::AddEvaluateConst< 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 115 of file add_evaluate.hpp.

Member Function Documentation

◆ Evaluate()

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

Return the objective function for the given coordinates.

Parameters
coordinatesCoordinates to evaluate the function at.

Definition at line 123 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