Previous Up Next

6.49.3 QR decomposition (for TI compatibility): QR

The QR command finds the QR decomposition of a matrix.


Example.
Input:

QR([[3,5],[4,5]],Q,R)

Output (the matrix R):

⎡
⎢
⎣
57
01
⎤
⎥
⎦

Input:

Q

Output (the matrix Q):

⎛
⎜
⎜
⎜
⎜
⎜
⎜
⎜
⎝
3
5
4
5
4
5
−
3
5
⎞
⎟
⎟
⎟
⎟
⎟
⎟
⎟
⎠

Previous Up Next