(use-modules (srfi srfi-13))
(use-modules (ice-9 rdelim))
(set! *random-state* (seed->random-state (current-time)))
(print (random:uniform))
I don't recall which if any of those modules are necessary (perhaps
neither).
Best,
Matt
On Wed, 18 Jun 2008, Can wrote:
> Hi,
>
> Is it possible to generate random numbers (preferably with a uniform
> distribution) within meep?
>
> Thanks in advance,
>
> Can
>
> _______________________________________________
> mpb-discuss mailing list
> [email protected]
> http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss
>
_______________________________________________
mpb-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss