Previous Up Next

15.3.3  QR decomposition (for TI compatibility)

The QR command finds the QR decomposition of a matrix.

Example

QR([[3,5],[4,5]],Q,R)
     
⎡
⎢
⎣
57
01
⎤
⎥
⎦
          

The result is the matrix R. To obtain Q:

Q
     
⎡
⎢
⎢
⎢
⎢
⎢
⎢
⎢
⎣
3
5
4
5
4
5
−
3
5
⎤
⎥
⎥
⎥
⎥
⎥
⎥
⎥
⎦
          

Previous Up Next