Anonymous user
QR decomposition: Difference between revisions
→{{header|J}}: trim example to match other lang implementations
(→{{header|J}}: note built-in QR decomp function) |
(→{{header|J}}: trim example to match other lang implementations) |
||
Line 1,135:
)</lang>
'''Example''': <lang j>
+-----------------------------+----------+
| 0.857143 _0.394286 _0.331429|14 21 _14|
| 0.428571 0.902857 0.0342857| 0 175 _70|
|_0.285714 0.171429 _0.942857| 0 0 35|
+-----------------------------+----------+</lang>
'''Example''' (polynomial fitting using QR reduction):<lang j> X=:i.# Y=:1 6 17 34 57 86 121 162 209 262 321
|