Feed on
Posts
Comments

the rand() function will return a value drawn from the uniform distribution.

rand() alone returns a value from (0,1).

rand(x) returns a value from (0,x).


Bookmark and Share

if that was helpful ...

check out the other tips and tricks i've compiled on these pages. you might learn something else interesting!

Did I get this wrong? Let me know!

Trackback URI | Comments RSS