Matrix – HP Prime Graphing Calculator User Manual
Page 550

544
Programming in HP PPL
TEXTOUT_P(K ,35,0,2,#FFFFFF,
100,#333399);
TEXTOUT_P(A ,90,30,2,#000000,100,
#99CC33);
sign*-1 ▶ sign;
K+1 ▶ K;
UNTIL 0;
END;
END;
The program executes
until the user presses
O
to terminate.
Matrix
The matrix commands described in this section are in
addition to the matrix functions described in “Matrix
functions and commands” on page 474. Some matrix
commands take as their argument the matrix variable
name on which the command is applied. Valid names are
the global variables M0–M9 or a local variable that
contains a matrix.
ADDCOL
Syntax: ADDCOL(matrixname, vector,
column_number)
Inserts the values in vector into a new column inserted
before column_number in the specified matrix. The
number of values in the vector must be the same as the
number of rows in the matrix.
ADDROW
Syntax: ADDROW(matrixname, vector,
row_number)
Inserts the values in vector into a new row inserted
before row_number in the specified matrix. The number
of values in the vector must be the same as the number of
columns in the matrix.
DELCOL
Syntax: DELCOL(name ,column_number)
Deletes column column_number from matrix name.
DELROW
Syntax: DELROW(name ,row_number)
Deletes row row_number from matrix name.