Difference between revisions of "ApCoCoA-1:Num.QR"

From ApCoCoAWiki
(we no longer need manual sortkeys here)
(search key fixes)
Line 32: Line 32:
 
       <type>cocoaserver</type>
 
       <type>cocoaserver</type>
 
     </types>
 
     </types>
     <key>Heldt</key>
+
     <key>heldt</key>
 
     <key>numerical.qr</key>
 
     <key>numerical.qr</key>
 
     <key>numericalqr</key>
 
     <key>numericalqr</key>
 
     <wiki-category>Package_Numerical</wiki-category>
 
     <wiki-category>Package_Numerical</wiki-category>
 
   </command>
 
   </command>

Revision as of 12:01, 4 November 2007

Numerical.QR

QR-decomposition of a matrix

Syntax

$numerical.QR(A:Matrix):Matrix;

Description

This function returns a matrix, containing the IMPI. The matrix consists

of the upper-right triangular matrix and the lower left triangular matrix,

describing the input matrix's QR-decomposition.

Example

Points:=Mat([[1,2,3],[2,3,4],[3,4,5]]);
$numerical.QR(Points);
-------------------------------
Mat([
  [-8425463406411593/2251799813685248, 7598355191047809/18014398509481984, 5698766393285857/9007199254740992],
  [-1504547036859213/281474976710656, 737074506864293/1125899906842624, 7744099468837749/9007199254740992],
  [-7823644591667907/1125899906842624, 5896596054914343/4503599627370496, -809/4611686018427387904]
])
-------------------------------

See also

Introduction to CoCoAServer

Numerical.SVD

Numerical.EigenValues

Numerical.EigenValuesAndVectors

Numerical.EigenValuesAndAllVectors