403
21-13
Using Calculator Functions in Programs
k
k
k
k
k
Using Matrix Row Operations in a Program
P.80
These commands let you manipulate the rows of a matrix in a program.
• For this type of program, be sure to use the
MAT Mode
to input the matrix, and
then switch to the
PRGM Mode
to input the program.
u
u
u
u
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:
1
2
Matrix A =
3
4
5
6
The following is the syntax to use for this program.
Swap A, 2, 3
Matrix name
Executing this program produces the following result.
(MAT Mode)
u
u
u
u
u
To calculate a scalar product (
`
`
`
`
`
Row)
Example 2
To calculate the scalar product of Row 2 of the matrix in Example
1, multiplying by 4
The following is the syntax to use for this program.
`
Row 4, A, 2
Matrix name
Multiplier
Executing this program produces the following result.
(MAT Mode)
Summary of Contents for CFX-9970G
Page 22: ... CFX 9970G ...
Page 452: ...435 1 2 3 4 5 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 453: ...436 Program for Circle and Tangents No 4 Step Key Operation Display 6 7 8 9 10 ...
Page 454: ...437 11 12 13 14 15 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 455: ...438 16 17 18 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 458: ...441 1 2 3 4 5 Program for Rotating a Figure No 5 Step Key Operation Display ...