

Go to the source code of this file.
Classes | |
| class | AddEvaluate< FunctionType, HasEvaluateWithGradient, HasEvaluate > |
| The AddEvaluate mixin class will provide an Evaluate() method if the given FunctionType has EvaluateWithGradient(), or nothing otherwise. More... | |
| class | AddEvaluate< FunctionType, HasEvaluateWithGradient, true > |
| Reflect the existing Evaluate(). More... | |
| class | AddEvaluate< FunctionType, true, false > |
| If we have EvaluateWithGradient() but no existing Evaluate(), add an Evaluate() method. More... | |
| class | AddEvaluateConst< FunctionType, HasEvaluateWithGradient, HasEvaluate > |
| The AddEvaluateConst mixin class will provide a const Evaluate() method if the given FunctionType has EvaluateWithGradient() const, or nothing otherwise. More... | |
| class | AddEvaluateConst< FunctionType, HasEvaluateWithGradient, true > |
| Reflect the existing Evaluate(). More... | |
| class | AddEvaluateConst< FunctionType, true, false > |
| If we have EvaluateWithGradient() but no existing Evaluate(), add an Evaluate() without a using directive to make the base Evaluate() accessible. More... | |
| class | AddEvaluateStatic< FunctionType, HasEvaluateWithGradient, HasEvaluate > |
| The AddEvaluateStatic mixin class will provide a static Evaluate() method if the given FunctionType has EvaluateWithGradient() static, or nothing otherwise. More... | |
| class | AddEvaluateStatic< FunctionType, HasEvaluateWithGradient, true > |
| Reflect the existing Evaluate(). More... | |
| class | AddEvaluateStatic< FunctionType, true, false > |
| If we have EvaluateWithGradient() but no existing Evaluate(), add an Evaluate() without a using directive to make the base Evaluate() accessible. More... | |
Namespaces | |
| mlpack | |
.hpp | |
| mlpack::optimization | |
This file defines a mixin for the Function class that will ensure that the function Evaluate() is avaliable if EvaluateWithGradient() is available.
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.hpp.