ContinuousSamplerpublic class LogNormalSampler extends java.lang.Object implements ContinuousSampler
| Constructor | Description |
|---|---|
LogNormalSampler(NormalizedGaussianSampler gaussian,
double scale,
double shape) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
sample() |
Creates a sample.
|
java.lang.String |
toString() |
public LogNormalSampler(NormalizedGaussianSampler gaussian, double scale, double shape)
gaussian - N(0,1) generator.scale - Scale of the log-normal distribution.shape - Shape of the log-normal distribution.public double sample()
sample in interface ContinuousSamplerpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2016–2018 The Apache Software Foundation. All rights reserved.