beautypg.com

List functions, Example, List functions -7 – HP 39g Graphing Calculator User Manual

Page 195

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

background image

List functions

Following are details of list functions. You can use them in
HOME, as well as in programs.

You can type in the name of
the function, or you can copy
the name of the function from
tlie List category of the

MATH menu. Press

r-

!

, ! MDTH FUNCTIOli

I

List

U

CONCRT

c Loop

¿■ LIST

Matrix

MHKELIST

>

— Polynom.

t

ItLIST If

liittiPHiliW

gtrntlBBilMlii

fMATÌT) [I] (the alpha L

character key). This displays

the List category. Press 0, select a function, and press E3.

List functions have thè following syntax:

Functions have arguments that are enclosed in
parentheses and separated by commas. Example:

C O N C A T (

LI, L2 ). An argument can be either a list

variable name (such as LI) or the actual list. For

example, REVERSE ( { 1 , 2 , 3 } ) .

If Decimal Mark in MODES is set to Comma, use
periods to separate arguments. For example,

C O N C A T ( L I . L 2 ) .

Common operators like +, -, x, and / can take lists as
arguments. If there are two arguments and both are lists, then
the lists must have the same length, since the calculation pairs

up the elements. If there are two arguments and one is a real

number, then the calculation pairs the number with each

element of the list.

Example

5 * { 1 , 2 , 3 } returns { 5 , 1 0 , 1 5 } .

Besides the common operators that can take numbers,
matrices, or lists as arguments, there are commands that can

only operate on lists.

Lists

13-7