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