IID — The Independent and Identically Distributed
(i.i.d.) distribution
Usage
IID(n: Int, dist: Distribution<a>) → Distribution<List<a>>
Arguments
-
n: -
The number of samples
-
dist: -
The distribution to sample from
Examples
~IID(10, Normal(0,1)) // A list of 10 Normal(0,1) random variables