Uniform distribution over a standard simplex.
Constructors
StdSimplex IntStdSimplex kconstructs a standard simplex of dimensionk(standard k-simplex). An element of the simplex represents a vector variableas = (a_0, a_1, ..., a_k). The elements ofasare more than or equal to0andsum asis always equal to1.
Instances3Distribution, Eq, Show
(Ord a, Fractional a, Distribution StdUniform a) => Distribution StdSimplex [a]Defined in random-fu-0.3.0.1 · Data.Random.Distribution.SimplexEq (StdSimplex as)Defined in random-fu-0.3.0.1 · Data.Random.Distribution.SimplexShow (StdSimplex as)Defined in random-fu-0.3.0.1 · Data.Random.Distribution.Simplex