IIDOn — The Independent and Identically Distributed
(i.i.d.) distribution
Usage
IIDOn(xs: Set<a>, dist: Distribution<b>) → Distribution<Map<a,b>>
Arguments
-
xs: -
The keys identifying the samples
-
dist: -
The distribution to sample from
Examples
~IIDOn({1,2,3},Normal(0,1)) // A map of 3 Normal(0,1) random variables