|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metsci.glimpse.util.math.stochastic.StochasticEngineMersenne
public final class StochasticEngineMersenne
Modified from a C-program for MT19937 by Takuji Nishimura and Makoto Matsumoto. (http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/VERSIONS/C-LANG/mt19937-64.c) License on original C-program is 3-clause BSD. Seeding could be improved to use longs.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.metsci.glimpse.util.math.stochastic.StochasticEngine |
---|
StochasticEngine.State |
Method Summary | |
---|---|
static StochasticEngineMersenne |
createEngine(int seed)
|
Generator |
getGenerator()
|
StochasticEngine.State |
getState()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public final StochasticEngine.State getState()
getState
in interface StochasticEngine
public final Generator getGenerator()
getGenerator
in interface StochasticEngine
public static StochasticEngineMersenne createEngine(int seed)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |