26 February 2022 06:36:37 PM
SPHERE_MONTE_CARLO_TEST
C version
Test the SPHERE_MONTE_CARLO library.
TEST01
Use SPHERE01_SAMPLE to estimate integrals on the unit sphere surface.
N 1 X^2 Y^2 Z^2 X^4 X^2Y^2 Z^4
1 12.56637061 10.53394337 0.8351536397 1.197273603 8.830231604 0.7000797141 0.1140714471
2 12.56637061 3.684797691 2.904776974 5.97679595 1.339212308 0.5881768868 2.842764548
4 12.56637061 5.72058541 1.844045315 5.00173989 4.60843029 0.8613956249 4.140862475
8 12.56637061 4.438333571 3.40516533 4.722871713 2.305884064 0.9183990811 2.525007427
16 12.56637061 3.164166187 6.55900895 2.843195477 1.472181725 0.9270860034 1.595256731
32 12.56637061 4.72365217 4.515612278 3.327106166 2.865585788 1.026885169 1.68892193
64 12.56637061 4.12415534 4.577289843 3.864925432 2.673812909 0.8187490184 2.284236515
128 12.56637061 4.064743193 4.682408743 3.819218678 2.461148336 0.7890431824 2.191902062
256 12.56637061 4.143237338 4.232166396 4.190966881 2.478625309 0.8430305116 2.495150277
512 12.56637061 4.096299819 4.056008521 4.414062274 2.437558834 0.769521227 2.731488894
1024 12.56637061 4.36525421 4.117059763 4.084056641 2.713015291 0.8363405364 2.475653278
2048 12.56637061 4.095044873 4.146678998 4.324646743 2.410649664 0.8255907261 2.616315416
4096 12.56637061 4.15893746 4.251544803 4.155888352 2.492424164 0.8424596298 2.495097179
8192 12.56637061 4.152243243 4.223021044 4.191106327 2.477469272 0.8468509757 2.52100033
16384 12.56637061 4.174708322 4.175795672 4.21586662 2.483721459 0.8379375879 2.535682466
32768 12.56637061 4.237593211 4.156914107 4.171863297 2.547096377 0.8401384795 2.495712834
65536 12.56637061 4.154566287 4.199326145 4.212478182 2.478998597 0.8364158369 2.528949974
Exact 12.56637061 4.188790205 4.188790205 4.188790205 2.513274123 0.837758041 2.513274123
SPHERE_MONTE_CARLO_TEST
Normal end of execution.
26 February 2022 06:36:37 PM