예제 #1
0
 public double CalcPi()
 {
     return(MonteCarloDouble.Integrate(x => H(x[0], x[1]), from, to, N));
 }
예제 #2
0
 public double CalcPiDouble()
 {
     return(MonteCarloDouble.Integrate(x => DH(x[0], x[1]), Dfrom, Dto, N));
 }