1. Kenneth Jørgensen
  2. random-util

Source

random-util /

Filename Size Date modified Message
.idea
spec
src
116 B
25 B
1.5 KB
1.1 KB
265 B
1.1 KB
1.1 KB
2.6 KB

A collection of functions for dealing with random numbers.

Uniform random numbers

  • random()
  • randomInteger(min, max)
  • randomNumber(min, max)

Biased random numbers

  • boased(bias)
  • biasedInteger(min, max, bias)
  • biasedNumber(min, max, bias)