up previous next
Numerical.QR5

QR-decomposition of a matrix
Syntax

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


Description
This function is implemented in ApCoCoALib (requires an active CoCoAServer).

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.QR5(Points);
-------------------------------
Mat([
  [-8425463406411593/2251799813685248, 7598355191047809/18014398509481984, 5698766393285857/9007199254740992],
  [-1504547036859213/281474976710656, 737074506864293/1125899906842624, 7744099468837749/9007199254740992],
  [-7823644591667907/1125899906842624, 5896596054914343/4503599627370496, -809/4611686018427387904]
])
-------------------------------


See Also