Exemplo n.º 1
0
 public FractionalBrownianMotion(int width, int height)
 {
     Width    = width;
     Height   = height;
     _byteMap = new byte[width, height];
     _realMap = new double[width, height];
     _guass   = new GaussianRNG();
     _rand    = new Random(unchecked ((int)DateTime.Now.Ticks));
 }
Exemplo n.º 2
0
 public FractionalBrownianMotion(int width, int height, double h)
 {
     Width    = width;
     Height   = height;
     _h       = h;
     _byteMap = new byte[width][];
     _realMap = new double[width][];
     for (int i = 0; i < width; i++)
     {
         _byteMap[i] = new byte[height];
         _realMap[i] = new double[height];
     }
     _guass = new GaussianRNG();
     _rand  = new Random(unchecked ((int)DateTime.Now.Ticks));
 }
Exemplo n.º 3
0
 public FractionalBrownianMotion()
 {
     _guass = new GaussianRNG();
     _rand  = new Random(unchecked ((int)DateTime.Now.Ticks));
 }