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

The AddDecomposableEvaluateWithGradientStatic mixin class will add a decomposable static EvaluateWithGradient() method if both a decomposable static Evaluate() and a decomposable static gradient() function exist, or nothing otherwise. More...

Inheritance diagram for AddDecomposableEvaluateWithGradientStatic< FunctionType, HasDecomposableEvaluateGradient, HasDecomposableEvaluateWithGradient >:
Inheritance graph
[legend]

Static Public Member Functions

static double EvaluateWithGradient (traits::UnconstructableType &, const size_t, const size_t)
 

Detailed Description

template<typename FunctionType, bool HasDecomposableEvaluateGradient = traits::HasEvaluate<FunctionType, traits::DecomposableEvaluateStaticForm>::value && traits::HasGradient<FunctionType, traits::DecomposableGradientStaticForm>::value, bool HasDecomposableEvaluateWithGradient = traits::HasEvaluateWithGradient<FunctionType, traits::DecomposableEvaluateWithGradientStaticForm>::value>
class mlpack::optimization::AddDecomposableEvaluateWithGradientStatic< FunctionType, HasDecomposableEvaluateGradient, HasDecomposableEvaluateWithGradient >

The AddDecomposableEvaluateWithGradientStatic mixin class will add a decomposable static EvaluateWithGradient() method if both a decomposable static Evaluate() and a decomposable static gradient() function exist, or nothing otherwise.

Definition at line 199 of file add_decomposable_evaluate_with_gradient.hpp.

Member Function Documentation

static double EvaluateWithGradient ( traits::UnconstructableType ,
const size_t  ,
const size_t   
)
static

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