Numerical integration/Gauss-Legendre Quadrature: Difference between revisions
Numerical integration/Gauss-Legendre Quadrature (view source)
Revision as of 01:21, 16 May 2023
, 1 year agoAdded 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">
|