Numerical integration/Gauss-Legendre Quadrature: Difference between revisions

m
Added a note about code slowdown.
(Added ATS.)
m (Added a note about code slowdown.)
Line 134:
This is a very close translation of the Common Lisp.
 
(A lot of the "ATS-ism" is completely optional. For instance, you can use <code>arrszref</code> instead of <code>arrayref</code>, if you want bounds checking at runtime instead of compile-time. But then debugging and regression-prevention become harder, and in that particular case the code will almost surely be slower.)
 
<syntaxhighlight lang="ats">
1,448

edits