PureData CEAMMC library web documentation
available since version: 0.4
Produces random integers on the interval [0, N), where the probability of each individual integer i defined as Wⁱ/S, that is the weight of the i-th integer divided by the sum of all N weights. Use @seed property to get reproducible sequences. If @seed property was not explicitly set or specified, uses generator initialized with current time.
@weights
Get/set list of weights (non-negative floats)
type: list
@seed
Get/set generator seed
type: int
min value: 0
default: 0
See also: [random.linear] [random.pw_const]
Authors: Serge Poltavsky
License: GPL3 or later