mlpack  3.0.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
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 >:
Inheritance graph
[legend]

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

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: