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

A direct calculation of the jacobian using a deriv object. More...

#include <jacobian.h>

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

Detailed Description

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

Note that it is most often wasteful to use this Jacobian in a root-finding routine and using more approximate Jacobians is more efficient. This class is mostly useful for demonstration purposes.

Definition at line 374 of file jacobian.h.

Data Structures

struct  ej_parms
 Parameter structure for passing information. More...

Public Member Functions

int set_deriv (deriv< funct > &de)
 Set the derivative object.
virtual int operator() (size_t nv, vec_t &x, vec_t &y, mat_t &jac)
 The operator()

Data Fields

gsl_deriv< functdef_deriv
 The default derivative object.

Protected Member Functions

double dfn (double x, ej_parms &ejp)
 Function for the derivative object.

Protected Attributes

deriv< funct > * dptr
 Pointer to the derivative object.

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.