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

Base for a square Jacobian where J is computed at x given y=f(x) [abstract base]. More...

#include <jacobian.h>

Inheritance diagram for jac_funct< vec_t, mat_t >:
jac_funct_cmfptr< tclass, vec_t, mat_t > jac_funct_fptr< vec_t, mat_t > jac_funct_mfptr< tclass, vec_t, mat_t > jacobian< func_t, 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 vec_t = ovector_base, class mat_t = omatrix_base>
class jac_funct< vec_t, mat_t >

Compute

\[ J_{ij} = \frac{\partial f_i}{\partial x_j} \]

The vec_t objects in operator() could have been written to be const, but they are not const so that they can be used as temporary workspace. They are typically restored to their original values before operator() exits. The Jacobian is stored in the order J[i][j], i.e. the rows have index i and the columns with index j.

Definition at line 52 of file jacobian.h.

Public Member Functions

virtual int operator() (size_t nv, vec_t &x, vec_t &y, mat_t &j)=0
 The operator()

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.