org.statcato.random
Class BinomialSample
- java.lang.Object
-
- java.util.Random
-
- org.statcato.random.BinomialSample
-
- All Implemented Interfaces:
- java.io.Serializable
public class BinomialSample extends java.util.RandomA random sampler for a binomial distribution defined by the number of trials and event probability.- Since:
- 1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description BinomialSample(int trials, double probability)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intnextSample()Returns the next random sample
-
DMelt 3.0 © DataMelt by jWork.ORG