public void Create2()
        {
            var randomDevice = new StdRandomDevice();
            var mt           = new StdMt19937(randomDevice);

            this.DisposeAndCheckDisposedState(randomDevice);
            this.DisposeAndCheckDisposedState(mt);
        }
Beispiel #2
0
 private static void Main(string[] args)
 {
     using var rd   = new StdRandomDevice();
     using var mt   = new StdMt19937(rd);
     using var dist = new StdUniformRealDistribution <double>(1.0, -1.0);
 }
Beispiel #3
0
        public void Create()
        {
            var randomDevice = new StdRandomDevice();

            this.DisposeAndCheckDisposedState(randomDevice);
        }