mlpack  git-master
AddDecomposableEvaluateWithGradient< FunctionType, false, true, true > Class Template Reference

If the FunctionType has EvaluateWithGradient() but not Evaluate(), provide that function. More...

Inheritance diagram for AddDecomposableEvaluateWithGradient< FunctionType, false, true, true >:

Public Member Functions

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

 

Detailed Description


template
<
typename
FunctionType
>

class mlpack::optimization::AddDecomposableEvaluateWithGradient< FunctionType, false, true, true >

If the FunctionType has EvaluateWithGradient() but not Evaluate(), provide that function.

Definition at line 140 of file add_decomposable_evaluate_with_gradient_const.hpp.

Member Function Documentation

◆ Evaluate()

double Evaluate ( const arma::mat &  coordinates,
const size_t  begin,
const size_t  batchSize 
)
inline

Return the objective function for the given coordinates.

Parameters
coordinatesCoordinates to evaluate the function at.

Definition at line 149 of file add_decomposable_evaluate_with_gradient_const.hpp.


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