help-octave
[Top][All Lists]
Advanced

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

Re: Datatype of random poisson-distributed numbers


From: stn021
Subject: Re: Datatype of random poisson-distributed numbers
Date: Sun, 17 Dec 2017 01:03:02 +0100

Hi,

oh no, sorry, my mistake.
That was a typo.

I meant randp()

THX
stn


2017-12-16 16:54 GMT+01:00 Doug Stewart <address@hidden>:


On Sat, Dec 16, 2017 at 9:27 AM, stn021 <address@hidden> wrote:
Hello,

this is a question for me to better understand the inner workings of octave.


The function randn() produces random numbers with poisson-distibution.

the help message says
" Return a matrix with normally distributed"  
this is not poisson in my knowledge. 

 

It is also possible to add the parameter "single" oder "double".
Then the result will be of the corresponding class.

My question is: when is that useful?
Poisson-distributed variables are by definition integers so it should not make any difference.

Could you give me an example where it does make a difference?


THX
stn



_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave




--
DASCertificate for 206392



reply via email to

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