Row Operations
Student[LinearAlgebra][AddRow] - add a multiple of a row of a Matrix to another row
Student[LinearAlgebra][MultiplyRow] - multiply a row of a Matrix by a scalar
Student[LinearAlgebra][SwapRow] - swap two rows of a Matrix
|
Calling Sequence
|
|
AddRow(A, i, j, s)
MultiplyRow(A, i, s)
SwapRow(A, i, j)
|
|
Parameters
|
|
A
|
-
|
Matrix
|
i, j
|
-
|
integers; row selection
|
s
|
-
|
algebraic; multiplier
|
|
|
|
|
Description
|
|
•
|
The AddRow(A, i, j, s) command replaces row i of A with row i + s * row j. This command can also be called as AddRows(A, i, j, s).
|
•
|
The MultiplyRow(A, i, s) command replaces row i of A with s * row i.
|
•
|
The SwapRow(A, i, j) command interchanges rows i and j of A. This command can also be called as SwapRows(A, i, j).
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
|
|
Download Help Document
Was this information helpful?