public class GaussianDistribution extends AbstractDistribution
Distribution where each value has the same probability.| Modifier and Type | Class and Description |
|---|---|
protected static class |
GaussianDistribution.GDRandom |
FlDistribution.FlRandom, FlDistribution.TemplateDistribution.RandomNumbers| Modifier | Constructor and Description |
|---|---|
protected |
GaussianDistribution(AbstractDistribution source) |
|
GaussianDistribution(long seed) |
|
GaussianDistribution(long seed,
LongSupplier seedSupplier) |
|
GaussianDistribution(LongSupplier seedSupplier) |
| Modifier and Type | Method and Description |
|---|---|
protected FlDistribution.FlRandom |
newRandom(long seed) |
static GaussianDistribution |
normal()
Returns a normal or Gaussian distribution with default seed.
|
static GaussianDistribution |
normal(long seed)
Returns a normal or Gaussian distribution with the specified seed.
|
static GaussianDistribution |
normalDistribution()
Returns a normal or Gaussian distribution with default seed.
|
static GaussianDistribution |
normalDistribution(long seed)
Returns a normal or Gaussian distribution with the specified seed.
|
StringBuilder |
toString(StringBuilder sb) |
getSeed, toRandomNumberstoStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfluentDistribution, valuestemplate, wrap, wrapgetValueTypepublic GaussianDistribution(LongSupplier seedSupplier)
public GaussianDistribution(long seed)
public GaussianDistribution(long seed,
LongSupplier seedSupplier)
protected GaussianDistribution(AbstractDistribution source)
public static GaussianDistribution normalDistribution()
public static GaussianDistribution normal()
public static GaussianDistribution normalDistribution(long seed)
seed - public static GaussianDistribution normal(long seed)
seed - protected FlDistribution.FlRandom newRandom(long seed)
newRandom in class AbstractDistributionpublic StringBuilder toString(StringBuilder sb)
toString in interface StringifytoString in class AbstractDistributionCopyright © 2019. All rights reserved.