help-octave
[Top][All Lists]
Advanced

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

Octave and GSL interface


From: Thomas Walter
Subject: Octave and GSL interface
Date: Fri, 18 Jun 1999 17:29:28 +0200

Hello,
Is anybody out there interested in acessing some functions from GSL
too?

I have encoded and tested an interface to the random number generator
part of GSL.  This part of GSL seems to be stable.  The use of the GSL
default RNG -- it has a period ~2^19937 -- is much faster than the RNG
used in the fortran library with period ~2^31.

example using octave-2.0.14 as is:
tic;r=rand(100000,1);toc      ==>     ans = 0.84215

examples using octave-2.0.14 as is and GSL
tic;r=rng_rand(100000,1);toc  ==>     ans = 0.16287

Hints, help and suggestions are welcome.

Nice weekend
Thomas

-- 
Platzangst:
Der dauerhafte Zustand eines Luftballons.

----------------------------------------------
Dipl. Phys. Thomas Walter
Inst. f. Physiklische Chemie II
Egerlandstr. 3                          Tel.: ++9131-85 27326 / 27330
91058 Erlangen, Germany                 email: address@hidden



---------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.  To ensure
that development continues, see www.che.wisc.edu/octave/giftform.html
Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
---------------------------------------------------------------------



reply via email to

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