Tue May 20 22:02:17 2025 line_integrals_test(): python version: 3.10.12 numpy version: 1.26.4 Test line_integrals(). line01_length_test line01_length returns the length of the unit line. line01_length() = 1.0 line01_monomial_integral_test line01_monomial_integral computes integrals of monomials along the length of the unit line in 1D. Compare with a Monte Carlo estimate. Number of sample points used is 4192 E MC-Estimate Exact Error 0 1 1 0 1 0.506622 0.5 0.0066 2 0.339053 0.333333 0.0057 3 0.254625 0.25 0.0046 4 0.203802 0.2 0.0038 5 0.169865 0.166667 0.0032 6 0.145605 0.142857 0.0027 7 0.127402 0.125 0.0024 8 0.113241 0.111111 0.0021 9 0.101909 0.1 0.0019 10 0.0926354 0.0909091 0.0017 line01_sample_test(): line01_sample() samples the unit line. Sample points in the unit line. 0: 0.106674 1: 0.494278 2: 0.675677 3: 0.0688153 4: 0.638144 5: 0.887916 6: 0.668927 7: 0.835335 8: 0.664327 9: 0.0389403 monomial_value_1d_test(): monomial_value_1d() evaluates a monomial of a 1D argument. X^(-1) X^(0) X^(1) X^(2) X^(5) 0.198414 1 5.03996 25.4012 3251.88 0.271148 1 3.68802 13.6015 682.282 0.316112 1 3.16343 10.0073 316.806 -1.26518 1 -0.790403 0.624737 -0.308491 0.147211 1 6.79297 46.1444 14464.3 line_integrals_test(): Normal end of execution. Tue May 20 22:02:17 2025