Exemple #1
0
 InitDistributions()
 {
     _uniformDistribution = new ContinuousUniformDistribution(RandomSource);
     _uniformDistribution.SetDistributionParameters(-Constants.Pi_2, Constants.Pi_2);
     _exponentialDistribution = new ExponentialDistribution(RandomSource);
     _exponentialDistribution.SetDistributionParameters(1.0);
 }
 void InitDistributions()
 {
     _uniformDistribution = new ContinuousUniformDistribution(RandomSource);
     _uniformDistribution.SetDistributionParameters(-Constants.Pi_2, Constants.Pi_2);
     _exponentialDistribution = new ExponentialDistribution(RandomSource);
     _exponentialDistribution.SetDistributionParameters(1.0);
 }