CASTI-89 TITANIUM · CALC89
Fill
Replaces every element of an existing list or matrix variable with the same value.
Syntax
Fill Expr, matrixVar or listVar
- Group
- Matrix
- Arguments
- Takes the value and the name of a list or matrix variable.
- Availability
- Included
- Menu path
- MATH ▸ Matrix ▸ CAS ▸ Fill
Example
| Input | Result |
|---|---|
| {1,2,3}→a:Fill 7,a:a | {7,7,7} |
Typing {1,2,3}→a:Fill 7,a:a on the home screen and pressing ENTER returns {7,7,7}.
Keystrokes on the TI-89 Titanium
2NDMATH4▶×3▼×21ENTER
The same key sequence inserts Fill in Calc89, and the AI tutor shows it step by step on the on-screen keypad.
Related commands
- 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.
- 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.