mlpack  git-master
CheckGradientConstraint< FunctionType > Struct Template Reference

Check if a suitable overload of GradientConstraint() is available. More...

Static Public Attributes

static const bool value
 

Detailed Description


template
<
typename
FunctionType
>

struct mlpack::optimization::traits::CheckGradientConstraint< FunctionType >

Check if a suitable overload of GradientConstraint() is available.

This is required by the ConstrainedFunctionType API.

Definition at line 143 of file static_checks.hpp.

Member Data Documentation

◆ value

const bool value
static
Initial value:
=
HasGradientConstraint<FunctionType, GradientConstraintForm>::value ||
HasGradientConstraint<FunctionType, GradientConstraintConstForm>::value ||
HasGradientConstraint<FunctionType, GradientConstraintStaticForm>::value

Definition at line 145 of file static_checks.hpp.


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