OONumerics User : |
From: Aleksander Grm (grm_at_[hidden])
Date: 2005-02-16 14:43:00
Dear all,
I have problems to figure out how to do in elegant way in c++ the link
for arbitrary function or operator.
For example I have class Problem (ex. integrate system of ode). In
Problem I create object Method (let say ode integrator). Then Problem
has member function, which calculates the values of vector function (or
operator()(...)) for ode system. This function (or operator) must be
then passed to Method, which uses it to calculate the values of vector
function at any time.
I have no idea how to do it. Can somebody suggest me hint, hoe to do it.
best + thanks
Aleksander