help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] gsl or matlab math libraries?


From: cigdem ozkan
Subject: [Help-gsl] gsl or matlab math libraries?
Date: Fri, 16 Mar 2007 03:18:22 -0700 (PDT)

Hi,
I need to use the 4th order Runge-Kutta and MatLab provides a function called 
ode45. I need this as a standalone C/C++ function for a simulation I am doing 
in ROOT. I have generated the .c .h etc files in Matlab. However, I am also 
trying to use rk4 in GSL. 
  I would like a frank opinion as to which one is better. Plus if someone out 
there has ever used ode45 (or rk4) in ROOT, please advice.
Cheers,
  C.

Jigal Aharonovich <address@hidden> wrote:
  So what's your thoughts?
Did anybody apply to Google Summer of Code? (Jordi?).

> Some functions have to be written to a specific precision, e.g.
> tables of chebyshev coefficients in special functions, quadrature
> points and weights, so not everything can be templatised.


Clearly this is an issue.
Can you elaborate on the schemes used to derive the existing values?
Could they be simply implemented as part of the template?
(say, in the construction of a quadrature integration instance).

Evidently, templatizing GSL entirely is a big task.
I thought about automating this - to some extent.
Namely, automation would produce a draft GSL templates, as a preliminary 
stage.
Say, using Bison to extract functions, and according to GSL's naming 
convention, create
relevant template classes with the same naming (e.g., ode...)

Any thoughts of how this can be accomplished?
(or perhaps it is no longer in the scope of GSL or GSL mailing list 
anymore?).

Enjoy,
Jigal.


_______________________________________________
Help-gsl mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-gsl



"Soon we must all face the choice between what is right... and what is easy."
 
---------------------------------
Don't get soaked.  Take a quick peek at the forecast 
 with theYahoo! Search weather shortcut.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]