Object-oriented Scientific Computing Library: Version 0.910
Public Member Functions | Protected Attributes | Private Member Functions
jacobian< func_t, vec_t, mat_t > Class Template Reference

Base for providing a numerical jacobian [abstract base]. More...

#include <jacobian.h>

Inheritance diagram for jacobian< func_t, vec_t, mat_t >:
jac_funct< vec_t, mat_t > exact_jacobian< func_t, vec_t, mat_t > simple_jacobian< func_t, vec_t, mat_t, alloc_vec_t, alloc_t >

Detailed Description

template<class func_t = mm_funct<>, class vec_t = ovector_base, class mat_t = omatrix_base>
class jacobian< func_t, vec_t, mat_t >

This is provides a Jacobian which is numerically determined by differentiating a user-specified function (typically of the form of mm_funct).

Definition at line 218 of file jacobian.h.

Public Member Functions

virtual int set_function (func_t &f)
 Set the function to compute the Jacobian of.
virtual int operator() (size_t nv, vec_t &x, vec_t &y, mat_t &j)=0
 Evaluate the Jacobian j at point y(x)

Protected Attributes

func_t * func
 A pointer to the user-specified function.

Private Member Functions

 jacobian (const jacobian &)
jacobianoperator= (const jacobian &)

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.