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

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

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

Public Member Functions

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

Detailed Description


template<typename FunctionType, bool HasDecomposableEvaluateWithGradient = traits::HasEvaluateWithGradient<FunctionType, traits::DecomposableEvaluateWithGradientForm>::value, bool HasDecomposableGradient = traits::HasGradient<FunctionType, traits::DecomposableGradientForm>::value>
class mlpack::optimization::AddDecomposableGradient< FunctionType, HasDecomposableEvaluateWithGradient, HasDecomposableGradient >

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

Definition at line 33 of file add_decomposable_gradient.hpp.

Member Function Documentation

◆ Gradient()

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

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