Liking cljdoc? Tell your friends :D

clojure.core.matrix.random


randomsclj

(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
raw docstring

sample-binomialclj

(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.
raw docstring

sample-normalclj

(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.
raw docstring

sample-rand-intclj

(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.
raw docstring

sample-uniformclj

(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.
raw docstring

to-randomclj

(to-random seed)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close