add_evaluate_with_gradient.hpp File Reference
Include dependency graph for add_evaluate_with_gradient.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AddEvaluateWithGradient< FunctionType, HasEvaluateGradient, HasEvaluateWithGradient >
 The AddEvaluateWithGradient mixin class will provide an EvaluateWithGradient() method if the given FunctionType has both Evaluate() and Gradient(), or it will provide nothing otherwise. More...

 
class  AddEvaluateWithGradient< FunctionType, HasEvaluateGradient, true >
 Reflect the existing EvaluateWithGradient(). More...

 
class  AddEvaluateWithGradient< FunctionType, true, false >
 If the FunctionType has Evaluate() and Gradient(), provide EvaluateWithGradient(). More...

 
class  AddEvaluateWithGradientConst< FunctionType, HasEvaluateGradient, HasEvaluateWithGradient >
 The AddEvaluateWithGradient mixin class will provide an EvaluateWithGradient() const method if the given FunctionType has both Evaluate() const and Gradient() const, or it will provide nothing otherwise. More...

 
class  AddEvaluateWithGradientConst< FunctionType, HasEvaluateGradient, true >
 Reflect the existing EvaluateWithGradient(). More...

 
class  AddEvaluateWithGradientConst< FunctionType, true, false >
 If the FunctionType has Evaluate() const and Gradient() const, provide EvaluateWithGradient() const. More...

 
class  AddEvaluateWithGradientStatic< FunctionType, HasEvaluateGradient, HasEvaluateWithGradient >
 The AddEvaluateWithGradientStatic mixin class will provide a static EvaluateWithGradient() method if the given FunctionType has both static Evaluate() and static Gradient(), or it will provide nothing otherwise. More...

 
class  AddEvaluateWithGradientStatic< FunctionType, HasEvaluateGradient, true >
 Reflect the existing EvaluateWithGradient(). More...

 
class  AddEvaluateWithGradientStatic< FunctionType, true, false >
 If the FunctionType has static Evaluate() and static Gradient(), provide static EvaluateWithGradient(). More...

 

Namespaces

 mlpack
 
.hpp
 
 mlpack::optimization
 

Detailed Description

Author
Ryan Curtin

This file defines a mixin for the Function class that will ensure that the EvaluateWithGradient() function is available if possible.

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.

Definition in file add_evaluate_with_gradient.hpp.