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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Gamma Random numbers [message #30576] Tue, 07 May 2002 18:58
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
hkc <"hkc"@ariel.met.tamu.edu> writes:

> i need a code for the random numbers generating function of the GAMMA
> distribution. IDL5.5. has a similar functions, but it uses only one
> variable, shape paramter. I want a code usign two variables, shape and
> scale parameters.

I think you just multiply the deviate by the scale parameter, right?

See beautiful on-line book here:
http://www.itl.nist.gov/div898/handbook/eda/section3/eda366b .htm

Craig


--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Gamma Random numbers
Next Topic: Validate widget id

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

Current Time: Sun Oct 12 19:42:10 PDT 2025

Total time taken to generate the page: 0.01275 seconds