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

Public Member Functions | |
| double | EvaluateWithGradient (traits::UnconstructableType &, const size_t, const size_t) |
The AddDecomposableEvaluateWithGradient mixin class will add a decomposable EvaluateWithGradient() method if a decomposable Evaluate() method and a decomposable Gradient() method exists, or nothing otherwise.
The AddDecomposableEvaluateWithGradient mixin class will provide a decomposable Evaluate() and Gradient() method if the given class has a decomposable EvaluateWithGradient() method, or it will provide a decomposable EvaluateWithGradient() method if the class has a decomposable Evaluate() and Gradient() method, or it will provide nothing in any other case.
Definition at line 41 of file add_decomposable_evaluate_with_gradient.hpp.
| double EvaluateWithGradient | ( | traits::UnconstructableType & | , |
| const size_t | , | ||
| const size_t | |||
| ) |