Package samer.maths.random
Class Gaussian
- java.lang.Object
-
- samer.maths.random.BaseRandom
-
- samer.maths.random.Gaussian
-
- All Implemented Interfaces:
- Generator
public class Gaussian extends BaseRandom
-
-
Field Summary
-
Fields inherited from class samer.maths.random.BaseRandom
rnd
-
-
Constructor Summary
Constructors Constructor and Description Gaussian()
Gaussian(double v, double m)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
dispose()
double
next()
void
next(double[] x)
java.lang.String
toString()
-
-
-
Method Detail
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceGenerator
- Overrides:
dispose
in classBaseRandom
-
next
public double next()
-
next
public void next(double[] x)
- Specified by:
next
in interfaceGenerator
- Overrides:
next
in classBaseRandom
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-