CASTI-89 TITANIUM · CALC89
rowAdd(
Adds one row of a matrix to another row and returns the new matrix.
Syntax
rowAdd(matrix, row1, row2)
- Group
- Matrix
- Arguments
- Takes the matrix, the row to add and the row that receives the sum.
- Availability
- Included
Example
| Input | Result |
|---|---|
| rowAdd([[1,2][3,4]],1,2) | [[1,2][4,6]] |
Typing rowAdd([[1,2][3,4]],1,2) on the home screen and pressing ENTER returns [[1,2][4,6]].
Related commands
- 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.
- subMat(Returns the part of a matrix between a start row and column and an end row and column.
- trace(Returns the trace of a square matrix, the sum of the entries on its main diagonal.
- transpose(Returns the transpose of a matrix, with rows and columns swapped.