|
MADNESS 0.10.1
|


Public Member Functions | |
| Tensor< double > | gradient (const Tensor< double > &x) |
| Should return the derivative of the function. | |
| Tensor< double > | gradient (const Tensor< double > &x) |
| Should return the derivative of the function. | |
| bool | provides_gradient () const |
| Override this to return true if the derivative is implemented. | |
| bool | provides_gradient () const |
| Override this to return true if the derivative is implemented. | |
| double | value (const Tensor< double > &x) |
| Should return the value of the objective function. | |
| double | value (const Tensor< double > &x) |
| Should return the value of the objective function. | |
Public Member Functions inherited from madness::OptimizationTargetInterface | |
| virtual | ~OptimizationTargetInterface () |
| double | test_gradient (Tensor< double > &x, double value_precision, bool doprint=true) |
| Numerical test of the derivative ... optionally prints to stdout, returns max abs error. | |
| virtual void | value_and_gradient (const Tensor< double > &x, double &value, Tensor< double > &gradient) |
| Reimplement if more efficient to evaluate both value and gradient in one call. | |
Should return the derivative of the function.
Reimplemented from madness::OptimizationTargetInterface.
Should return the derivative of the function.
Reimplemented from madness::OptimizationTargetInterface.
|
inlinevirtual |
Override this to return true if the derivative is implemented.
Reimplemented from madness::OptimizationTargetInterface.
|
inlinevirtual |
Override this to return true if the derivative is implemented.
Reimplemented from madness::OptimizationTargetInterface.
Should return the value of the objective function.
Implements madness::OptimizationTargetInterface.
References madness::Tensor< T >::sumsq().
Should return the value of the objective function.
Implements madness::OptimizationTargetInterface.
References madness::Tensor< T >::sumsq().