FunctionModel Class Reference

List of all members.


Detailed Description

Function specification.

This class encapsulates a time-dependent function. Instantiating an object of a class derived from this is one way to supply a function to a FunctionCollection object. The other is to define a static function of type f_t().

Definition at line 16 of file FunctionModel.hpp.


Public Member Functions

virtual ~FunctionModel ()
 Destructor.
virtual double evaluate (const double t, const double y[])=0
 Evaluate the function.

Constructor & Destructor Documentation

~FunctionModel (  )  [virtual]

Destructor.

Definition at line 9 of file FunctionModel.cpp.


Member Function Documentation

virtual double evaluate ( const double  t,
const double  y[] 
) [pure virtual]

Evaluate the function.

Parameters:
t The time.
y State variable values at time t.
Returns:
The calculated value of the function given the arguments.


Generated on Wed Dec 17 15:11:58 2008 for dysii Dynamical Systems Library by  doxygen 1.5.3