CASTI-89 TITANIUM · CALC89
list▶mat(
Converts a list into a matrix, filling it row by row with the given number of columns.
Syntax
list▶mat(list, cols)
- Group
- Matrix
- Arguments
- Takes the list and the number of columns.
- Availability
- Included
- Menu path
- MATH ▸ List ▸ CAS ▸ list▶mat(
Example
| Input | Result |
|---|---|
| list▶mat({1,2,3,4},2) | [[1,2][3,4]] |
Typing list▶mat({1,2,3,4},2) on the home screen and pressing ENTER returns [[1,2][3,4]].
Keystrokes on the TI-89 Titanium
2NDMATH3▶×37
The same key sequence inserts list▶mat( in Calc89, and the AI tutor shows it step by step on the on-screen keypad.
Related commands
- LUComputes the LU decomposition of a matrix with partial pivoting and stores the lower, upper and permutation matrices in variables.
- mat▶list(Returns the entries of a matrix as one list, row by row.
- mRow(Multiplies one row of a matrix by a value, one of the elementary row operations of Gaussian elimination.
- mRowAdd(Multiplies one row of a matrix by a value and adds the result to another row, the key step of Gaussian elimination.
- newMat(Returns a matrix of zeros with the given number of rows and columns.
- norm(Returns the Frobenius norm of a matrix; for a vector this is its length.
- QRComputes the QR factorization of a matrix and stores the orthogonal matrix q and the upper triangular matrix r in variables.
- randMat(Returns a matrix of the given size filled with random integers.