jac_vfunct Class Template Reference

#include <jacobian.h>

Inheritance diagram for jac_vfunct:

jac_vfunct_fptr jac_vfunct_mfptr

Detailed Description

template<class param_t, size_t nv>
class jac_vfunct< param_t, nv >

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

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 restored to their original values before operator() exits.

Definition at line 188 of file jacobian.h.


Public Member Functions

virtual int operator() (size_t nv2, double x[nv], double y[nv], double j[nv][nv], param_t &pa)=0
 The operator().

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