mlpack  git-master
AddDecomposableEvaluateStatic< FunctionType, HasDecomposableEvaluateWithGradient, HasDecomposableEvaluate > Class Template Reference

The AddDecomposableEvaluateStatic mixin class will add a decomposable static Evaluate() method if a decomposable static EvaluateWithGradient() function exists, or nothing otherwise. More...

Inheritance diagram for AddDecomposableEvaluateStatic< FunctionType, HasDecomposableEvaluateWithGradient, HasDecomposableEvaluate >:

Public Member Functions

double Evaluate (traits::UnconstructableType &, const size_t) const
 

Detailed Description


template<typename FunctionType, bool HasDecomposableEvaluateWithGradient = traits::HasEvaluateWithGradient<FunctionType, traits::DecomposableEvaluateWithGradientStaticForm>::value, bool HasDecomposableEvaluate = traits::HasEvaluate<FunctionType, traits::DecomposableEvaluateStaticForm>::value>
class mlpack::optimization::AddDecomposableEvaluateStatic< FunctionType, HasDecomposableEvaluateWithGradient, HasDecomposableEvaluate >

The AddDecomposableEvaluateStatic mixin class will add a decomposable static Evaluate() method if a decomposable static EvaluateWithGradient() function exists, or nothing otherwise.

Definition at line 163 of file add_decomposable_evaluate.hpp.

Member Function Documentation

◆ Evaluate()

double Evaluate ( traits::UnconstructableType ,
const size_t   
) const

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