Beispiel #1
0
 public NormalDistribution(double average, double variance, Random random)
 {
     this.average  = average;
     this.variance = variance;
     uin           = UniformDistribution.FromStartLength(random, 0, Math.PI * 2);
     weib          = new WeibullDistribution(random, 0, 1);//TODO Put corrent values
 }
Beispiel #2
0
 public WeibullDistribution(Random random, double alpha, double lambda)
 {
     dist        = UniformDistribution.FromStartLength(random, 0, 1);
     this.lambda = lambda;
     this.alpha  = alpha;
 }