Object-oriented Scientific Computing Library: Version 0.910
Public Member Functions | Private Member Functions
ode_funct< vec_t > Class Template Reference

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

#include <ode_funct.h>

Inheritance diagram for ode_funct< vec_t >:
ode_funct_cmfptr< tclass, vec_t > ode_funct_fptr< vec_t > ode_funct_fptr_param< param_t, vec_t > ode_funct_mfptr< tclass, vec_t > ode_funct_mfptr_param< tclass, param_t, vec_t >

Detailed Description

template<class vec_t = ovector_base>
class ode_funct< vec_t >

This base class provides the basic format for specifying 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.

Definition at line 40 of file ode_funct.h.

Public Member Functions

virtual int operator() (double x, size_t nv, const vec_t &y, vec_t &dydx)=0
 Compute the nv derivatives as a function of the nv functions specified in y at the point x.

Private Member Functions

 ode_funct (const ode_funct &)
ode_functoperator= (const ode_funct &)

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.