View Full Version : Random normal vector Generator
Dunedain
07-08-2005, 12:56 PM
Does anyone know where I could download the code for generating dependent quasi-random normal numbers in java?
Something similar to the randn(N,1) function in matlab..
Thanks.
Jason
07-08-2005, 07:12 PM
since the randn(n,m) function in matlab creates a random matrix with entries N(0,1) then you would have to write a method to work the way you want. The only random function in java is the math.random method create a number between 0-1
Jason
Dunedain
07-20-2005, 12:57 PM
Yeah I'm aware of that, I just thought that there might be someone out there who had impletemented the Ziggurat method or something simpler in java code.
vBulletin® v3.8.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.