Java org.apache.commons.math.random RandomData fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.math.random RandomData fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.math.random RandomData.

The text is from its open source code.

Method

doublenextGaussian(double mu, double sigma)
Generates a random value from the Normal (or Gaussian) distribution with the given mean and standard deviation.
intnextInt(int lower, int upper)
Generates a uniformly distributed random integer between lower and upper (endpoints included).
longnextLong(long lower, long upper)
Generates a uniformly distributed random long integer between lower and upper (endpoints included).
longnextPoisson(double mean)
Generates a random value from the Poisson distribution with the given mean.
Object[]nextSample(Collection c, int k)
Returns an array of k objects selected randomly from the Collection c.
doublenextUniform(double lower, double upper)
Generates a uniformly distributed random value from the open interval (lower,upper) (i.e., endpoints excluded).