Gauss-Jordan matrix inversion: Difference between revisions
→{{header|ATS}}
Line 1,400:
{{out}}
<pre style="font-size:90%">$ patscc -std=gnu2x -g -O2 -DATS_MEMALLOC_GCBDW gauss_jordan_task.dats -lgc && ./a.out▼
(When compiling specifically for Opteron 6344 with GCC 12 (and nearby versions), I had trouble unless I added <code>-fno-expensive-optimizations</code>.)
▲<pre style="font-size:90%">$ patscc -std=gnu2x -g -O2 -fno-expensive-optimizations -DATS_MEMALLOC_GCBDW gauss_jordan_task.dats -lgc && ./a.out
(The examples are printed here after rounding to 4 decimal places.)
|