|
From: | Brian Gough |
Subject: | Re: [Help-gsl] using own (non-GSL random number generator with randist.h) |
Date: | Mon, 25 Sep 2006 14:13:50 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.6) Gecko/20060815 SeaMonkey/1.0.4 |
I'd like my own rng to 'power' distributions from randist.h but don't know what form it should take to be accepted by the standard procedure to get them into the distrbutions ie . . gsl_rng_type * T = myOwnRng r = gsl_rng_alloc(T)num = someDist(r, etc..)Could someone please point me to the minimum spec my rng should conform to.
The generator files are in the rng directory, see e.g. rng/mrg.c for one example.
-- Brian Gough Network Theory Ltd, Publishing the GSL Manual - http://www.network-theory.co.uk/gsl/manual/
[Prev in Thread] | Current Thread | [Next in Thread] |