30 April 2013 04:42:25 PM KRONROD_PRB: C++ version. Test the KRONROD library. TEST01 Request KRONROD to compute the Gauss rule of order 3, and the Kronrod extension of order 3+4=7. Compare to exact data. KRONROD returns 3 vectors of length 4 I X WK WG 1 0.960491 0.104656 0 2 0.774597 0.268488 0.555556 3 0.434244 0.401397 0 4 0 0.450917 0.888889 Gauss Abscissas Exact Computed 1 -0.774597 -0.774597 2 0 -0 3 0.774597 0.774597 Gauss Weights Exact Computed 1 0.555556 0.555556 2 0.888889 0.888889 3 0.555556 0.555556 Gauss Kronrod Abscissas Exact Computed 1 -0.960491 -0.960491 2 -0.774597 -0.774597 3 -0.434244 -0.434244 4 0 -0 5 0.434244 0.434244 6 0.774597 0.774597 7 0.960491 0.960491 Gauss Kronrod Weights Exact Computed 1 0.104656 0.104656 2 0.268488 0.268488 3 0.401397 0.401397 4 0.450917 0.450917 5 0.401397 0.401397 6 0.268488 0.268488 7 0.104656 0.104656 TEST02 Request KRONROD to compute the Gauss rule of order 4, and the Kronrod extension of order 4+5=9. KRONROD returns 3 vectors of length 5 I X WK WG 1 0.97656 0.0629774 0 2 0.861136 0.170054 0.347855 3 0.640286 0.266798 0 4 0.339981 0.326949 0.652145 5 0 0.346443 0 TEST03 Call Kronrod to estimate the integral of a function. Keep trying until the error is small. Error tolerance satisfied with N = 7 Coarse integral estimate = 1.5643964 Fine integral estimate = 1.5644073 Error estimate = 1.0808639e-05 Actual error = 1.0808686e-05 KRONROD_PRB: Normal end of execution. 30 April 2013 04:42:25 PM