QR decomposition: Difference between revisions
m
Minor edits
(Simplify code; add pivots) |
m (Minor edits) |
||
Line 204:
=={{header|Axiom}}==
The following provides a generic QR decomposition for arbitrary precision floats, double floats and exact calculations:
<lang Axiom>)abbrev package TESTP TestPackage
Line 290 ⟶ 289:
[1,2,3]
Type: Vector(AlgebraicNumber)</lang>
The calculations are comparable to those from the QR decomposition in R, which by default uses LINPACK. R's LAPACK implementation uses column pivoting.
<lang Axiom>)abbrev package TESTP2 TestPackage2
TestPackage2(R:Join(Field,RadicalCategory)): with
|