User Manual
8-31
u To swap the contents of two rows (Swap)
Example 1 To swap the values of Row 2 and Row 3 in the following matrix:
Matrix A =
1 2
3 4
5 6
The following is the syntax to use for this program.
Swap A , 2 , 3 _
Rows to be swapped
Matrix name
Mat A
Executing this program produces the following result.
u To calculate a scalar multiplication (`Row)
Example 2 To calculate the product of Row 2 of the matrix in Example 1 and the
scalar 4
The following is the syntax to use for this program.
`Row 4, A, 2_
Row
Matrix name
Multiplier
Mat A
u To calculate a scalar multiplication and add the results to another row
(`Row+)
Example 3 To calculate the product of Row 2 of the matrix in Example 1 and the
scalar 4, then add the result to row 3
The following is the syntax to use for this program.
`Row+ 4, A, 2, 3_
Rows to be added
Row for which scalar multiplication is to be calculated
Matrix name
Multiplier
Mat A