Property | Value |
---|---|
Hex Value | $15 |
Categories | |
Localizations |
|
rowSwap(
Overview
Returns a matrix with rowA
of matrix
swapped with rowB
.
Availability: Token available everywhere.
Syntax
rowSwap(matrix,rowA,rowB)
Arguments
Name | Type | Optional |
---|---|---|
matrix | matrix | |
rowA | ||
rowB |
Location
2nd, matrix, MATH
, C:rowSwap(
Description
The rowSwap( command swaps two rows of a matrix and returns the result. It is an elementary row operation used in Gaussian Elimination.
[[1,2][3,4]]
[[1 2]
[3 4]]
rowSwap(Ans,1,2)
[[3 4]
[1 2]]
Advanced Uses
You can swap columns instead of rows with the aid of the T (transpose) command.
Error Conditions
- ERR:INVALID DIM is thrown if one of the row arguments isn't a valid row (larger than the matrix size, or otherwise bad)
Related Commands
Source: parts of this page were written by the following TI|BD contributors: DarkerLine, GoVegan.
History
Calculator | OS Version | Description |
---|---|---|
TI-82 | 1.0 | Added |
Authors: