Package com.github.tommyettinger.random.distribution
package com.github.tommyettinger.random.distribution
Statistical distributions that make use of
Most of the generators here are adapted from ShaiRandom, which got much of its code from Troschuetz.Random, but took special care to avoid GPL- or LGPL-licensed code (and either removed or rewrote that code).
EnhancedRandom
generators from this library.
Most of the generators here are adapted from ShaiRandom, which got much of its code from Troschuetz.Random, but took special care to avoid GPL- or LGPL-licensed code (and either removed or rewrote that code).
-
ClassDescriptionA two-parameter distribution with range from 0 to 1, both exclusive.A one-parameter discrete distribution with integer range from 0 inclusive to 1 inclusive.A two-parameter distribution with range from 0 to 1, both exclusive.A two-parameter distribution with range from 0 to positive infinity.A two-parameter discrete distribution with integer range from 0 (inclusive) to beta (inclusive).A two-parameter distribution with infinite range.A one-parameter distribution with range from 0 exclusive to positive infinity.A one-parameter distribution with range from 0 exclusive to positive infinity.A two-parameter distribution with range between the given parameters, both inclusive.A two-parameter discrete distribution with integer range between the given parameters, both inclusive.The parent (abstract) class for all distributions.A two-parameter distribution with range from 0 (inclusive) to positive infinity.A one-parameter distribution with range from 0 exclusive to positive infinity.A two-parameter distribution with range from 0 exclusive to positive infinity.A two-parameter distribution with infinite range.A two-parameter distribution with range from 0 exclusive to positive infinity.A one-parameter discrete distribution with integer range from 1 inclusive to positive infinity.A three-parameter distribution with infinite range, which allows interpolating between a
normal distribution
and auniform distribution
.A two-parameter distribution with range between 0 and 1, both inclusive.A two-parameter distribution with infinite range.A two-parameter distribution with range from 0 (exclusive) to positive infinity.A two-parameter distribution with infinite range.A two-parameter distribution with range from 0 (exclusive) to positive infinity.A two-parameter distribution with range between 0 inclusive and 1 exclusive.A two-parameter distribution with infinite range, also called the Gaussian distribution.A two-parameter distribution with range fromParetoDistribution.getAlpha()
to positive infinity.A one-parameter discrete distribution with integer range from 0 inclusive to positive infinity.A two-parameter distribution with range between 0 and 1.0/beta, both inclusive.A one-parameter distribution with range from 0 exclusive to positive infinity.A one-parameter distribution with range from negative infinity to positive infinity.A three-parameter distribution with range from between the first two parameters, alpha inclusive, beta inclusive.A two-parameter distribution with range from 0 (inclusive) to positive infinity.A discrete two-parameter distribution with range from integer 1 toalpha
.