public class LogNormalGenerator extends Object implements RandomDataGenerator<Object>
param: mean mean for the log normal distribution. param: std standard deviation for the log normal distribution
Constructor and Description |
---|
LogNormalGenerator(double mean,
double std) |
Modifier and Type | Method and Description |
---|---|
LogNormalGenerator |
copy()
Returns a copy of the RandomDataGenerator with a new instance of the rng object used in the
class when applicable for non-locking concurrent usage.
|
double |
mean() |
double |
nextValue()
Returns an i.i.d.
|
void |
setSeed(long seed)
Set random seed.
|
double |
std() |
public LogNormalGenerator copy()
RandomDataGenerator
copy
in interface RandomDataGenerator<Object>
public double mean()
public double nextValue()
RandomDataGenerator
nextValue
in interface RandomDataGenerator<Object>
public void setSeed(long seed)
Pseudorandom
setSeed
in interface Pseudorandom
public double std()