11 January 2014 10:24:21 AM HYPERBALL_INTEGRALS_PRB C++ version Test the HYPERBALL_INTEGRALS library. TEST01 Use the Monte Carlo method to estimate integrals over the interior of the unit hyperball in M dimensions. Spatial dimension M = 3 Number of sample points used is 4192 If any exponent is odd, the integral is zero. We will restrict this test to randomly chosen even exponents. Ex Ey Ez MC-Estimate Exact Error 8 0 2 0.00944719 0.00976408 0.000316885 4 2 8 0.000106546 0.000114872 8.32531e-06 8 2 4 0.000113351 0.000114872 1.52063e-06 0 8 4 0.0017592 0.00195282 0.000193613 0 0 6 0.201203 0.199466 0.00173709 2 6 8 2.91293e-05 3.02293e-05 1.10006e-06 0 2 0 0.817859 0.837758 0.0198989 4 6 4 4.88858e-05 4.92307e-05 3.44823e-07 6 2 0 0.0194586 0.0181333 0.00132526 8 8 2 1.00818e-05 1.00764e-05 5.39622e-09 8 4 8 1.28466e-06 1.31432e-06 2.96605e-08 2 2 8 0.000617766 0.000650939 3.31729e-05 6 0 4 0.00401111 0.00418461 0.000173498 8 4 0 0.00211512 0.00195282 0.0001623 6 0 0 0.206377 0.199466 0.00691039 8 2 0 0.0106769 0.00976408 0.000912844 8 4 2 0.000116982 0.000114872 2.11046e-06 2 6 0 0.0174516 0.0181333 0.000681663 2 8 8 9.7552e-06 1.00764e-05 3.21251e-07 0 2 2 0.116416 0.11968 0.00326369 TEST02 Use the Monte Carlo method to estimate integrals over the interior of the unit hyperball in M dimensions. Spatial dimension M = 6 Number of sample points used is 4192 If any exponent is odd, the integral is zero. We will restrict this test to randomly chosen even exponents. E1 E2 E3 E4 E5 E6 MC-Estimate Exact Error 0 2 6 4 0 6 7.22564e-08 8.53388e-08 1.30824e-08 8 0 4 4 8 8 3.2547e-14 4.05215e-14 7.97454e-15 0 0 6 8 8 8 1.81152e-12 2.56636e-12 7.54845e-13 2 4 8 2 6 8 5.76408e-14 7.33246e-14 1.56838e-14 8 2 0 0 8 0 1.31568e-06 1.39387e-06 7.81887e-08 2 0 4 6 4 4 1.98316e-09 1.96936e-09 1.38036e-11 4 8 6 0 0 2 2.31147e-08 2.29758e-08 1.38894e-10 4 6 4 0 6 2 3.57971e-10 3.51671e-10 6.30047e-12 8 0 4 0 6 6 4.03154e-10 4.10283e-10 7.12908e-12 6 2 4 4 2 0 1.73372e-08 1.70678e-08 2.69435e-10 4 0 2 8 0 6 2.32228e-08 2.29758e-08 2.46977e-10 2 4 4 2 2 8 1.54765e-10 1.64113e-10 9.34847e-12 8 4 2 2 8 6 6.18791e-14 7.33246e-14 1.14455e-14 2 8 4 4 2 4 1.43505e-11 1.64113e-11 2.06081e-12 0 8 6 0 6 2 4.20208e-09 4.10283e-09 9.92545e-11 2 0 6 0 4 0 5.66048e-05 6.00785e-05 3.47371e-06 8 0 4 4 0 4 1.43567e-08 1.37855e-08 5.71154e-10 0 2 4 6 2 4 1.46245e-08 1.70678e-08 2.44327e-09 4 6 8 6 2 0 1.29667e-11 1.28213e-11 1.45338e-13 6 8 2 4 6 2 3.64365e-13 3.77098e-13 1.27331e-14 HYPERBALL_INTEGRALS_PRB Normal end of execution. 11 January 2014 10:24:21 AM