Object-oriented Scientific Computing Library: Version 0.910
Public Member Functions | Protected Attributes | Private Member Functions
ode_jac_funct_cmfptr< tclass, vec_t, mat_t > Class Template Reference

Provide ODE Jacobian in the form of const member function pointers.

#include <ode_jac_funct.h>

Inheritance diagram for ode_jac_funct_cmfptr< tclass, vec_t, mat_t >:
ode_jac_funct< vec_t, mat_t >

Detailed Description

template<class tclass, class vec_t = ovector_base, class mat_t = omatrix_base>
class ode_jac_funct_cmfptr< tclass, vec_t, mat_t >

Definition at line 177 of file ode_jac_funct.h.

Public Member Functions

 ode_jac_funct_cmfptr (tclass *tp, int(tclass::*fp)(double x, size_t nv, const vec_t &y, mat_t &dfdy, vec_t &dfdx) const)
 Create an object given a class and member function pointer.
virtual int operator() (double x, size_t nv, const vec_t &y, mat_t &dfdy, vec_t &dfdx)
 Compute the derivatives dfdx and the Jacobian matrix dfdy given y at the point x.

Protected Attributes

int(tclass::* fptr )(double x, size_t nv, const vec_t &y, mat_t &dfdy, vec_t &dfdx) const
 The pointer to the member function.
tclass * tptr
 The pointer to the class.

Private Member Functions

 ode_jac_funct_cmfptr (const ode_jac_funct_cmfptr &)
ode_jac_funct_cmfptroperator= (const ode_jac_funct_cmfptr &)

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.