[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Re: gsl ode solver - const a problem?
From: |
Brian Gough |
Subject: |
Re: [Help-gsl] Re: gsl ode solver - const a problem? |
Date: |
Mon, 21 Sep 2009 09:19:49 +0100 |
User-agent: |
Wanderlust/2.14.0 (Africa) Emacs/22.2 Mule/5.0 (SAKAKI) |
At Fri, 18 Sep 2009 10:42:13 +0200,
Heiko Bauke wrote:
> There is no (obvious) reason why func should change the parameters.
It is mainly for generality. A simple example used in the GSL test
programs is counting function evaluations.
> The current design forces me regularly to apply a const_cast (in C++)
> when solving ODEs with GSL routines.
I'm not familiar with this situation, could you give an example - is it
specific to C++ or is there an equivalent problem in C? Thank you.
--
Brian Gough
GNU Scientific Library -
http://www.gnu.org/software/gsl/