mlpack  3.0.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
AddEvaluateStatic< FunctionType, HasEvaluateWithGradient, HasEvaluate > Class Template Reference

The AddEvaluateStatic mixin class will provide a static Evaluate() method if the given FunctionType has EvaluateWithGradient() static, or nothing otherwise. More...

Inheritance diagram for AddEvaluateStatic< FunctionType, HasEvaluateWithGradient, HasEvaluate >:
Inheritance graph
[legend]

Static Public Member Functions

static double Evaluate (traits::UnconstructableType &)
 

Detailed Description

template<typename FunctionType, bool HasEvaluateWithGradient = traits::HasEvaluateWithGradient<FunctionType, traits::EvaluateWithGradientStaticForm>::value, bool HasEvaluate = traits::HasEvaluate<FunctionType, traits::EvaluateStaticForm>::value>
class mlpack::optimization::AddEvaluateStatic< FunctionType, HasEvaluateWithGradient, HasEvaluate >

The AddEvaluateStatic mixin class will provide a static Evaluate() method if the given FunctionType has EvaluateWithGradient() static, or nothing otherwise.

Definition at line 144 of file add_evaluate.hpp.

Member Function Documentation

static double Evaluate ( traits::UnconstructableType )
static

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