ode_jac_funct Class Template Reference

Ordinary differential equation Jacobian [abstract base]. More...

#include <ode_jac_funct.h>

Inheritance diagram for ode_jac_funct:

ode_jac_funct_cmfptr ode_jac_funct_fptr ode_jac_funct_mfptr

Detailed Description

template<class param_t, class vec_t = ovector_base, class mat_t = omatrix_base>
class ode_jac_funct< param_t, vec_t, mat_t >

This base class provides the basic format for specifying the Jacobian for ordinary differential equations to integrate with the O2scl ODE solvers. Select the appropriate child of this class according to the kind of functions which are to be given to the solver.

For functions with C-style arrays, use the corresponding children of ode_jac_vfunct .

Definition at line 45 of file ode_jac_funct.h.


Public Member Functions

virtual int operator() (double x, size_t nv, const vec_t &y, mat_t &dfdy, vec_t &dfdx, param_t &pa)=0
 Compute the derivatives dfdx and the Jacobian matrix dfdy given y at the point x.

Private Member Functions

 ode_jac_funct (const ode_jac_funct &)
ode_jac_functoperator= (const ode_jac_funct &)

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