Class for automatically computing gradients [abstract base]. More...
#include <mmin.h>
Default template arguments
func_t
- (no default)vec_t
- boost::numeric::ublas::vector < double >
Public Member Functions | |
virtual int | set_function (func_t &f) |
Set the function to compute the gradient of. | |
virtual int | operator() (size_t nv, vec_t &x, vec_t &g)=0 |
Compute the gradient g at the point x . | |
Protected Attributes | |
func_t * | func |
A pointer to the user-specified function. | |
Private Member Functions | |
gradient (const gradient &) | |
gradient & | operator= (const gradient &) |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).