public static Random Create(int seed, RandomType type = RandomType.WellBalanced) { switch (type) { case RandomType.WellBalanced: return(DsfmtRandom.Create(seed)); case RandomType.FastestInt32: return(MT64Random.Create(seed)); case RandomType.FastestDouble: return(DsfmtRandom.Create(seed)); default: throw new ArgumentException(); } }
public AccurateRandom(ulong[] seed) : this(MT64Random.Create(seed)) { }
public AccurateRandom(int seed) : this(MT64Random.Create(seed)) { }
public AccurateRandom() : this(MT64Random.Create()) { }