Tue May 20 21:18:17 2025 ball_integrals_test(): python version: 3.10.12 numpy version: 1.26.4 Test ball_integrals(). ball01_monomial_integral_test(): ball01_monomial_integral() returns the integral of a monomial over the interior of the unit ball in 3D. Compate against Monte Carlo estimates. 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 0 0.00928737 0.00976408 4.77e-04 8 8 8 0.000186044 0.000211605 2.56e-05 2 8 8 0.000673483 0.000650939 2.25e-05 4 0 0 0.34441 0.359039 1.46e-02 0 0 0 0.843448 0.837758 5.69e-03 2 4 4 0.00366149 0.00362666 3.48e-05 2 0 0 0.0390295 0.0398932 8.64e-04 6 6 6 8.83853e-07 9.388e-07 5.49e-08 2 6 6 0.00143139 0.00139487 3.65e-05 6 4 4 0.00391318 0.00418461 2.71e-04 8 4 4 0.00179334 0.00195282 1.59e-04 6 8 8 3.03288e-05 3.02293e-05 9.95e-08 0 2 2 0.118386 0.11968 1.29e-03 0 8 8 0.00955338 0.00976408 2.11e-04 4 4 4 0.000836542 0.000836921 3.79e-07 8 8 8 2.58675e-07 2.62864e-07 4.19e-09 8 4 4 3.95685e-06 4.31848e-06 3.62e-07 0 4 4 0.0393552 0.0398932 5.38e-04 8 2 2 0.000106793 0.000114872 8.08e-06 6 8 8 2.58808e-07 2.62864e-07 4.06e-09 ball01_sample_test(): Python version: 3.10.12 ball01_sample() samples the unit ball. Sample points in the unit ball. Row: 0 1 2 Col 0 : 0.020817 0.200741 0.968489 1 : 0.797052 -0.196025 0.0758452 2 : -0.225835 0.452933 0.107334 3 : -0.265516 -0.672861 -0.172687 4 : -0.024661 0.693505 0.285335 5 : -0.0532413 -0.000741553 0.321971 6 : 0.440707 0.00817927 -0.465899 7 : -0.059058 0.235028 0.868203 8 : -0.843754 -0.0586416 -0.507501 9 : -0.20843 -0.181231 -0.771101 ball01_volume_test(): Python version: 3.10.12 ball01_volume() returns the volume of the unit ball. ball01_volume() = 4.18879 ball_integrals_test(): Normal end of execution. Tue May 20 21:18:17 2025