exact_jacobian Class Template Reference

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

#include <jacobian.h>

Inheritance diagram for exact_jacobian:

jacobian jac_funct

Detailed Description

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

Note that it is sometimes 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 545 of file jacobian.h.


Data Structures

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

Public Member Functions

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

Data Fields

gsl_deriv< ej_parms, funct
< ej_parms > > 
def_deriv
 The default derivative object.

Protected Member Functions

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

Protected Attributes

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

The documentation for this class was generated from the following file:

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page