QR decomposition: Difference between revisions
m
→{{header|ATS}}
m (→{{header|ATS}}) |
|||
Line 206:
=={{header|ATS}}==
Perhaps not every template function that was written below is actually used. Much of what is below amounts to a little library for working with matrices. To treat blocks and transposes as matrices themselves, I use a trick employed in some Scheme implementations of matrices: indices are mapped by closures, and the closures can nested.
<syntaxhighlight lang="ats">
|