mlpack  git-master
AddDecomposableGradientStatic< FunctionType, HasDecomposableEvaluateWithGradient, HasDecomposableGradient > Class Template Reference

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

Inheritance diagram for AddDecomposableGradientStatic< FunctionType, HasDecomposableEvaluateWithGradient, HasDecomposableGradient >:

Static Public Member Functions

static void Gradient (traits::UnconstructableType &, const size_t, const size_t)
 

Detailed Description


template<typename FunctionType, bool HasDecomposableEvaluateWithGradient = traits::HasEvaluateWithGradient<FunctionType, traits::DecomposableEvaluateWithGradientStaticForm>::value, bool HasDecomposableGradient = traits::HasGradient<FunctionType, traits::DecomposableGradientStaticForm>::value>
class mlpack::optimization::AddDecomposableGradientStatic< FunctionType, HasDecomposableEvaluateWithGradient, HasDecomposableGradient >

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

Definition at line 168 of file add_decomposable_gradient.hpp.

Member Function Documentation

◆ Gradient()

static void Gradient ( traits::UnconstructableType ,
const size_t  ,
const size_t   
)
static

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