示例#1
0
 public IndexModelBuilder(IRandomNumberRepository randomNumberRepository, IFrequencyDistribution frequencyDistribution,
                          IArithmeticMean arithmeticMean, IStandardDeviation standardDeviation)
 {
     this.randomNumberRepository = randomNumberRepository;
     this.frequencyDistribution  = frequencyDistribution;
     this.arithmeticMean         = arithmeticMean;
     this.standardDeviation      = standardDeviation;
 }
示例#2
0
 public StandardDeviation(IArithmeticMean arithmeticMean)
 {
     arithmeticMeanAlgorithm = arithmeticMean;
 }