Object-oriented Scientific Computing Library: Version 0.910
Public Member Functions
grad_funct< vec_t > Class Template Reference

Array of multi-dimensional functions [abstract base]. More...

#include <multi_min.h>

Inheritance diagram for grad_funct< vec_t >:
grad_funct_cmfptr< tclass, vec_t > grad_funct_fptr< vec_t > grad_funct_fptr_param< param_t, vec_t > grad_funct_mfptr< tclass, vec_t > grad_funct_mfptr_param< tclass, param_t, vec_t > gradient< func_t, vec_t > simple_grad< func_t, vec_t >

Detailed Description

template<class vec_t = ovector_base>
class grad_funct< vec_t >

This class generalizes nv functions of nv variables, i.e. $ y_j(x_0,x_1,...,x_{nv-1}) $ for $ 0\leq j \leq nv-1 $ .

This class is one of a large number of function object classes in O2scl designed to provide a mechanism for the user to supply functions to solvers, minimizers, integrators, etc. See Function Objects for a general description.

Note:
This class is different from mm_funct in that the first vector argument is not const.

Definition at line 49 of file multi_min.h.

Public Member Functions

virtual int operator() (size_t nv, vec_t &x, vec_t &y)=0
 Compute nv functions, y, of nv variables stored in x with parameter pa.

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.