PHP Vimeo\ABLincoln\Operators\Random Namespace

Classes

Name Description
BernoulliFilter Filter an array with Bernoulli Trial probability for each element
BernoulliTrial Simulate a Bernoulli Trial by choosing 1 or 0 with a given probability
RandomFloat Random operator used to calculate pseudorandom floating point numbers
RandomInteger Random operator used to calculate pseudorandom integers
Sample Select a random sample from a given choices array
UniformChoice Randomly select a choice from an array of options
WeightedChoice Select an element from a choices array according to given probabilities