Matrix commands, Matrix commands -23 – HP 39g Graphing Calculator User Manual
Page 231
Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".
FOR...TO...STEP
...END
BREAK
FOR name=start-expression TO end-expression
[STEP increment];
loop-clause END
FOR A=1 TO 12 STEP 1;
DISP 3 ; A ;
END
Note that the STEP parameter is optional. If it is omitted, a
step value of 1 is assumed.
Terminates loop.
BREAK
Matrix commands
ADDCOL
ADDROW
DELCOL
DELROW
EDITMAT
The matrix commands take variables M0-M9 as arguments.
Add Column. Inserts values into a column before
columnjmmber in the specified matrix. You enter the values
as a vector. The values must be separated by commas and the
number of values must be the same as the number of rows in
the matrix name.
ADDCOL name; [value 1 .....value,J ; columnjmmber
Add Row. Inserts values into a row before row jmmber in the
specified matrix. You enter the values as a vector. The values
must be separated by commas and the number of values must
be the same as the number of columns in the matrix name.
ADDROW name; [ valuej,
value „ ] ; row jmmber
Delete Column. Deletes the specified column from the
specified matrix.
DELCOL name; columnjmmber
Delete Row. Deletes the specified row from the specified
matrix.
DELROW name; row jmmber
Starts the Matrix Editor and displays the specified matrix. If
used in programming, returns to the program when user
presses 03.
EDITMAT name
Programming
15-23