CASTI-89 TITANIUM · CALC89
QR
Computes the QR factorization of a matrix and stores the orthogonal matrix q and the upper triangular matrix r in variables.
Syntax
QR Matrix, qMatrix, rMatrix[, Tol]
- Group
- Matrix
- Arguments
- Takes the matrix, the names of two variables for q and r, and an optional tolerance.
- Availability
- Included
- Menu path
- MATH ▸ Matrix ▸ CAS ▸ QR
Example
| Input | Result |
|---|---|
| QR [3,0;4,5],q,r:r | [[5,4][0,3]] |
Typing QR [3,0;4,5],q,r:r on the home screen and pressing ENTER returns [[5,4][0,3]].
Keystrokes on the TI-89 Titanium
2NDMATH4▶×3▼×19ENTER
The same key sequence inserts QR in Calc89, and the AI tutor shows it step by step on the on-screen keypad.
Related commands
- randMat(Returns a matrix of the given size filled with random integers.
- ref(Returns the row echelon form of a matrix, the result of forward Gaussian elimination.
- rowAdd(Adds one row of a matrix to another row and returns the new matrix.
- rowDim(Returns the number of rows of a matrix.
- rowNorm(Returns the row norm of a matrix, the largest sum of the absolute values of the entries in any row.
- rowSwap(Swaps two rows of a matrix and returns the new matrix.
- rref(Returns the reduced row echelon form of a matrix.
- simult(Solves a system of linear equations given as a coefficient matrix and a column of constants, and returns the solution as a column vector.