ode_jac_funct_fptr Class Template Reference

Provide ODE Jacobian in the form of function pointers. More...

#include <ode_jac_funct.h>

Inheritance diagram for ode_jac_funct_fptr:

ode_jac_funct

Detailed Description

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

Provide ODE Jacobian in the form of function pointers.

Definition at line 75 of file ode_jac_funct.h.


Public Member Functions

 ode_jac_funct_fptr (int(*fp)(double, size_t, const vec_t &, mat_t &, vec_t &, param_t &))
 Create an object given a function pointer.
virtual int operator() (double x, size_t nv, const vec_t &y, mat_t &dfdy, vec_t &dfdx, param_t &pa)
 Compute the derivatives dfdx and the Jacobian matrix dfdy given y at the point x.

Protected Attributes

int(* fptr )(double x, size_t nv, const vec_t &y, mat_t &dfdy, vec_t &dfdx, param_t &)
 The function pointer.

Private Member Functions

 ode_jac_funct_fptr (const ode_jac_funct_fptr &)
ode_jac_funct_fptroperator= (const ode_jac_funct_fptr &)

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