コード例 #1
0
 public ExponentialGenerator(int seed, double lambda = 1)
 {
     _uniformGenerator = new UniformGenerator(seed);
     _lambda           = lambda;
 }
コード例 #2
0
 public NormalGenerator(int seed, double m = 0, double sigma = 1)
 {
     _uniformGenerator = new UniformGenerator(seed);
     _m     = m;
     _sigma = sigma;
 }
コード例 #3
0
 public ExponentialGenerator(double lambda = 1)
 {
     _uniformGenerator = new UniformGenerator();
     _lambda           = lambda;
 }
コード例 #4
0
 public NormalGenerator(double m = 0, double sigma = 1)
 {
     _uniformGenerator = new UniformGenerator();
     _m     = m;
     _sigma = sigma;
 }