|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Random | |
|---|---|
| edu.rit.numeric | Package edu.rit.numeric contains common classes for numerical computation. |
| edu.rit.util | Package edu.rit.util contains general utility components. |
| Uses of Random in edu.rit.numeric |
|---|
| Fields in edu.rit.numeric declared as Random | |
|---|---|
protected Random |
DoublePrng.myUniformPrng
The underlying uniform PRNG. |
| Methods in edu.rit.numeric with parameters of type Random | |
|---|---|
void |
RobustFit.fitWithDistribution(XYSeries data,
int T,
Random prng,
double conf)
Fit the given data series to the model and compute the distribution of the model parameters. |
| Constructors in edu.rit.numeric with parameters of type Random | |
|---|---|
BernoulliPrng(Random theUniformPrng)
Construct a new Bernoulli PRNG with heads probability = 0.5. |
|
BernoulliPrng(Random theUniformPrng,
double p)
Construct a new Bernoulli PRNG with the given heads probability. |
|
DoublePrng(Random theUniformPrng)
Construct a new double PRNG. |
|
ExponentialPrng(Random theUniformPrng,
double lambda)
Construct a new exponential PRNG. |
|
NormalPrng(Random theUniformPrng)
Construct a new standard normal PRNG. |
|
NormalPrng(Random theUniformPrng,
double theMean,
double theStdev)
Construct a new normal PRNG with the given mean and standard deviation. |
|
UniformPrng(Random theUniformPrng,
double a,
double b)
Construct a new uniform PRNG. |
|
| Uses of Random in edu.rit.util |
|---|
| Subclasses of Random in edu.rit.util | |
|---|---|
class |
DefaultRandom
Class DefaultRandom provides a default pseudorandom number generator (PRNG) designed for use in parallel scientific programming. |
class |
Mcg1Random
Class Mcg1Random provides a default pseudorandom number generator (PRNG) designed for use in parallel scientific programming. |
| Methods in edu.rit.util that return Random | |
|---|---|
static Random |
Random.getInstance(long seed)
Construct a new PRNG with the given seed using the default algorithm. |
static Random |
Random.getInstance(long seed,
String algorithm)
Construct a new PRNG with the given seed using the given algorithm. |
| Methods in edu.rit.util with parameters of type Random | |
|---|---|
static Iterator<Integer> |
RandomSample.withoutReplacement(Random prng,
int n,
int N)
Create an iterator that generates a random sample of ints without replacement. |
static int |
RandomSample.withoutReplacement(Random prng,
int n,
int N,
int[] buf)
Generate a random sample of ints without replacement. |
static Iterator<Long> |
RandomSample.withoutReplacement(Random prng,
int n,
long N)
Create an iterator that generates a random sample of longs without replacement. |
static int |
RandomSample.withoutReplacement(Random prng,
int n,
long N,
long[] buf)
Generate a random sample of longs without replacement. |
| Constructors in edu.rit.util with parameters of type Random | |
|---|---|
RandomSubset(Random prng,
int N)
Construct a new random subset object for the original set consisting of the integers from 0 through N−1 inclusive. |
|
RandomSubset(Random prng,
int N,
boolean dense)
Construct a new random subset object for the original set consisting of the integers from 0 through N−1 inclusive. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||