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

From ApCoCoAWiki
(New page: <command> <title>Numerical.QR5</title> <short_description>QR-decomposition of a matrix</short_description> <syntax> $numerical.QR5(A:Matrix):Matrix; </syntax> <description> Th...)
 
(fixing the title)
Line 1: Line 1:
 
  <command>
 
  <command>
     <title>Numerical.QR5</title>
+
     <title>Numerical.QR</title>
 
     <short_description>QR-decomposition of a matrix</short_description>
 
     <short_description>QR-decomposition of a matrix</short_description>
 
<syntax>
 
<syntax>
$numerical.QR5(A:Matrix):Matrix;
+
$numerical.QR(A:Matrix):Matrix;
 
</syntax>
 
</syntax>
 
     <description>
 
     <description>
Line 12: Line 12:
 
<example>
 
<example>
 
Points:=Mat([[1,2,3],[2,3,4],[3,4,5]]);
 
Points:=Mat([[1,2,3],[2,3,4],[3,4,5]]);
$numerical.QR5(Points);
+
$numerical.QR(Points);
 
-------------------------------
 
-------------------------------
 
Mat([
 
Mat([

Revision as of 14:14, 11 October 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