(randoms)
(randoms seed)
Returns a lazy sequence of random numbers, given a seed that is either an integer value or a java.util.Random instance
Returns a lazy sequence of random numbers, given a seed that is either an integer value or a java.util.Random instance
(sample-binomial size p)
(sample-binomial size p n)
Returns an array of samples from a binomial distribution with probability p and n trials for each sample. If n is omitted, a single trial is performed.
Size may be either a number of samples or a shape vector.
Returns an array of samples from a binomial distribution with probability p and n trials for each sample. If n is omitted, a single trial is performed. Size may be either a number of samples or a shape vector.
(sample-normal size)
Returns an array of random samples from a standard normal distribution.
Size may be either a number of samples or a shape vector.
Returns an array of random samples from a standard normal distribution. Size may be either a number of samples or a shape vector.
(sample-rand-int size n)
Returns an array of random integers in the range [0..n), equivalent to Clojure's rand-int function.
Size may be either a number of samples or a shape vector.
Returns an array of random integers in the range [0..n), equivalent to Clojure's rand-int function. Size may be either a number of samples or a shape vector.
(sample-uniform size)
Returns an array of random samples from a uniform distribution on [0,1)
Size may be either a number of samples or a shape vector.
Returns an array of random samples from a uniform distribution on [0,1) Size may be either a number of samples or a shape vector.
(to-random seed)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close