HP Prime Graphing Wireless Calculator Instrukcja Użytkownika Strona 650

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 649
DELROW
Syntax: DELROW(name ,row_number)
Deletes row row_number from matrix name.
EDITMAT
Syntax: EDITMAT(matrix variable, [title], [read only]) or EDITMAT(matrix,
[title], [read only])
Allows you to view or edit the specied matrix.
If a matrix variable (M0–M9) is used, the variable is updated when you tap .
The optional title can be either "title" or {"title", ["row names”], ["column names"]}. If entered, "title" is
displayed at the top of the matrix editor. If "row names" and "column names" are entered, they are used as
the row and column headers in the editor.
If read only is not 0, the user can only view the matrix. That is, the user cannot edit the matrix.
EDITMAT returns the matrix as soon as the command is completed. If used in a program, it returns to the
program when you tap .
REDIM
Syntax: REDIM(name, size)
Redimensions the specied matrix (name) or vector to size. For a matrix, size is a list of two integers (n1,n2).
For a vector, size is a list containing one integer (n). Existing values in the matrix are preserved. Fill values will
be 0.
REPLACE
Syntax: REPLACE(name, start, object)
Replaces portion of a matrix or vector stored in name with an object starting at position start. Start for a
matrix is a list containing two numbers; for a vector, it is a single number. REPLACE also works with lists,
graphics, and strings. For example, REPLACE("123456", 2, "GRM") -> "1GRM56"
SCALE
Syntax: SCALE(name, value, rownumber)
Multiplies the specied row_number of the specied matrix by value.
SCALEADD
Syntax: SCALEADD(name, value, row1, row2)
Multiplies the specied row1 of the matrix (name) by value, then adds this result to the second specied
row2 of the matrix (name) and replaces row1 with the result.
SUB
Syntax: SUB(name, start, end)
Extracts a sub-object—a portion of a list, matrix, or graphic—and stores it in name. Start and end are each
specied using a list with two numbers for a matrix, a number for vector or lists, or an ordered pair, (X,Y), for
graphics: SUB(M1{1,2},{2,2})
602 Chapter 28 Programming in HP PPL
Przeglądanie stron 649
1 2 ... 645 646 647 648 649 650 651 652 653 654 655 ... 700 701

Komentarze do niniejszej Instrukcji

Brak uwag