Object-oriented Scientific Computing Library: Version 0.910
Public Member Functions | Data Fields
simple_grad< func_t, vec_t > Class Template Reference

Simple automatic computation of gradient by finite differencing.

#include <multi_min.h>

Inheritance diagram for simple_grad< func_t, vec_t >:
gradient< func_t, vec_t > grad_funct< vec_t >

Detailed Description

template<class func_t, class vec_t>
class simple_grad< func_t, vec_t >

Definition at line 398 of file multi_min.h.

Public Member Functions

virtual int operator() (size_t nv, vec_t &x, vec_t &g)
 Compute the gradient g at the point x.

Data Fields

double epsrel
 The relative stepsize for finite-differencing (default $ 10^{-6} $ )
double epsmin
 The minimum stepsize (default $ 10^{-15} $)

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).

Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads.