예제 #1
0
 public double RandomInLowerRange(MersenneTwister r)
 {
     return(r.RollInRange(LowerBound, MidPoint));
 }
예제 #2
0
 public double RandomInUpperRange(MersenneTwister r)
 {
     return(r.RollInRange(MidPoint, UpperBound));
 }
예제 #3
0
 //get random value in ranges
 public double RandomInFullRange(MersenneTwister r)
 {
     return(r.RollInRange(LowerBound, UpperBound));
 }