Simple automatic computation of gradient by finite differencing. More...
#include <mmin.h>
Public Member Functions | |
virtual int | operator() (size_t nv, vec_t &x, vec_t &g) |
Compute the gradient g at the point x . | |
![]() | |
virtual int | set_function (func_t &f) |
Set the function to compute the gradient of. | |
Public Attributes | |
double | epsrel |
The relative stepsize for finite-differencing (default ![]() | |
double | epsmin |
The minimum stepsize (default ![]() | |
Additional Inherited Members | |
![]() | |
func_t * | func |
A pointer to the user-specified function. | |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).