Re: random numbers

Can <[email protected]>
Newsgroups gmane.comp.science.photonic-bands
Message-ID <[email protected]>
Thank you very much,

Best,

Can

p.s.: neihter of the modules are necessary..

On Wed, Jun 18, 2008 at 7:25 PM, matt <[email protected]> wrote:
>
>
>
> (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
>>
>



-- 

Can Sumer

Izmir Institute of Technology
Electrical and Electronics Engineering Department
Urla 35430, Izmir, Turkey

e-mail: cansumer at iyte.edu.tr
URL : http://www.iyte.edu.tr/~cansumer
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.