Modules index


Random

func pluck(c): Successively generates random elements form c.

func random(): Returns a random integer between 0 and the maximum integer size of the machine.

func shuffle(c): Shuffles c's elements into a pseudo-random order. Note that since the number of permutations for most lists is larger than the period of most random number generators, many possible random permutations can never be generated using this function.


cvd_to_html ©2006-2007 Laurence Tratt