CASTI-89 TITANIUM · CALC89
dim(
Returns the dimensions of a matrix as {rows, columns}, or the number of elements of a list.
Syntax
dim(matrix or list)
- Group
- Matrix
- Arguments
- Takes a matrix or a list.
- Availability
- Included
- Menu path
- MATH ▸ List ▸ CAS ▸ dim(
Example
| Input | Result |
|---|---|
| dim([[1,2,3][4,5,6]]) | {2,3} |
Typing dim([[1,2,3][4,5,6]]) on the home screen and pressing ENTER returns {2,3}.
Keystrokes on the TI-89 Titanium
2NDMATH3▶×36
The same key sequence inserts dim( in Calc89, and the AI tutor shows it step by step on the on-screen keypad.
Related commands
- dotP(Returns the dot product of two vectors.
- eigVc(Returns the eigenvectors of a square matrix as the columns of a matrix.
- eigVl(Returns the eigenvalues of a square matrix as a list.
- FillReplaces every element of an existing list or matrix variable with the same value.
- identity(Returns the identity matrix of size n by n.
- inverse(Returns the inverse of a square matrix, the same result as raising it to the power −1.
- list▶mat(Converts a list into a matrix, filling it row by row with the given number of columns.
- LUComputes the LU decomposition of a matrix with partial pivoting and stores the lower, upper and permutation matrices in variables.