Java org.apache.commons.math3.random RandomDataImpl fields, constructors, methods, implement or subclass

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

Introduction

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

The text is from its open source code.

Constructor

RandomDataImpl()
Construct a RandomDataImpl, using a default random generator as the source of randomness.
RandomDataImpl(RandomGenerator rand)
Construct a RandomDataImpl using the supplied RandomGenerator as the source of (non-secure) random data.

Method

doublenextExponential(double mean)

Algorithm Description: Uses the Algorithm SA (Ahrens) from p.

doublenextGaussian(double mu, double sigma)
intnextInt(int lower, int upper)
longnextLong(long lower, long upper)
int[]nextPermutation(int n, int k)

Uses a 2-cycle permutation shuffle.