Hp 50g Graphing Calculator Uživatelský manuál Strana 268

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 887
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 267
Page 8-11
Functions GETI and PUTI, also available in sub-menu PRG/ ELEMENTS/, can
also be used to extract and place elements in a list. These two functions,
however, are useful mainly in programming. Function GETI uses the same
arguments as GET and returns the list, the element location plus one, and the
element at the location requested. Function PUTI uses the same arguments as
GET and returns the list and the list size.
Element position in the list
To determine the position of an element in a list use function POS having the list
and the element of interest as arguments. For example,
HEAD and TAIL functions
The HEAD function extracts the first element in the list. The TAIL function
removes the first element of a list, returning the remaining list. Some examples
are shown next:
The SEQ function
Item 2. PROCEDURES.. in the PRG/LIST menu contains the following functions
that can be used to operate on lists.
Functions REVLIST and SORT were introduced earlier as part of the MTH/LIST
menu. Functions DOLIST, DOSUBS, NSUB, ENDSUB, and STREAM, are
designed as programming functions for operating lists in RPN mode. Function
Zobrazit stránku 267
1 2 ... 263 264 265 266 267 268 269 270 271 272 273 ... 886 887

Komentáře k této Příručce

Žádné komentáře