help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: consistent crash using gammrnd


From: Hermann
Subject: Re: consistent crash using gammrnd
Date: Sun, 15 Jul 2007 17:31:19 +0200
User-agent: KMail/1.9.7

Am Samstag, 14. Juli 2007 schrieb Paul Kienzle:

> > gamrnd(rand(100,1),rand(100,1))
>
> The attached patch fixes the gamrnd bug ... it was doing
> vector/vector rather than vector./vector.

Hi,
I’m not sure, but maybe this should be .* instead of ./ ? I noted that 
in 'help randg' it sais

| This can be used to generate many distributions:
|
| `gamma (a, b)' for `a > -1', `b > 0'
|            r = b * randg (a)

Kind regards,
Hermann


reply via email to

[Prev in Thread] Current Thread [Next in Thread]