Πlist, Reverse, Size – HP 39g+ User Manual

Page 195: Σlist, Sort

Advertising
background image

Lists

13-9

Π

LIST

Calculates the product of all elements in list.

Π

LIST(

list

)

Example

Π

LIST({2,3,4})

returns

24

.

POS

Returns the position of an element within a list. The element
can be a value, a variable, or an expression. If there is more
than one instance of the element, the position of the first
occurrence is returned. A value of 0 is returned if there is no
occurrence of the specified element.

POS(

list, element

)

Example

POS ({3, 7, 12, 19},12)

returns

3

REVERSE

Creates a list by reversing the order of the elements in a list.

REVERSE(

list

)

SIZE

Calculates the number of elements in a list.

SIZE(

list

)

Also works with matrices.

Σ

LIST

Calculates the sum of all elements in list.

Σ

LIST(

list

)

Example

Σ

LIST({2,3,4})

returns

9

.

SORT

Sorts elements in ascending order.

SORT(

list

)

Advertising
This manual is related to the following products:

40G