On Sun, 2011-05-22 at 09:09 +0200, wally wrote:
> here is a gambas3 demo of gsl cspline.
> wally 

Here is a working ScriptBasic Windows version (running under Wine) using
the DYC extension module for the FFI. (GTK-Server was the issue under
Ubuntu 64)


Code: (testgsl.sb)

DECLARE SUB DLL ALIAS "dyc" LIB "dyc"

dv = DLL("ms8,d,libgsl-0.dll,gsl_sf_bessel_J0,d",5.0)

PRINT FORMAT("%.16e",dv)

Results:

C:\scriptbasic\test>scriba testgsl.sb
-1.7759677131433826e-001
C:\scriptbasic\test>



------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to