comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: gamma random numbers ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: gamma random numbers ? [message #30814 is a reply to message #30730] Thu, 16 May 2002 08:30 Go to previous message
Andrew Loughe is currently offline  Andrew Loughe
Messages: 9
Registered: October 1998
Junior Member
I would add to Craig's response an assignment to "seed"
that looks something like this:

seed = long((systime(1) - long(systime(1))) * 1.e6)

> r = randomu(seed, gamma=SHAPE)*SCALE


--
Andrew Loughe =====================================================
NOAA/OAR/FSL/AD R/FS5 | email: Andrew.Loughe@noaa.gov
325 Broadway | wwweb: www-ad.fsl.noaa.gov/users/loughe
Boulder, CO 80305-3328 | phone: 303-497-6211 fax: 303-497-6301
[Message index]
 
Read Message
Read Message
Previous Topic: Re: resizing idlde editor windows? (was: Re: how i can detect round bright structures in picture??)
Next Topic: Re: reversing [near, far] for volume rendering

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 06:53:32 PDT 2025

Total time taken to generate the page: 0.88089 seconds