Lists
407
CONCAT(
list1
,
list2
)
Example:
CONCAT({1,2,3},{4})
returns
{1,2,3,4}
.
Position
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
Size
Returns the number of elements in a list.
SIZE(
list
)
Example:
SIZE({1,2,3})
returns
3
LIST
Creates a new list composed of the first differences, that
is, the differences between consecutive elements in a list.
The new list has one less element than the original list. The
differences for
{
x
1
,
x
2
,
x
3
,.
.. x
n-1
,
x
n
}
are
{
x
2
–x
1
, x
3
–x
2
,...
x
n
–x
n–1
}
.
LIST(
list1
)
Example:
In Home view, store
{3,5,8,12,17,23} in L5
and find the first
differences for the list.
Sq
3,5,8,12,17,23
>
A j
5
E
D
6 7
A
j
5
E
Summary of Contents for NW280-200X
Page 1: ...HP Prime Graphing Calculator User Guide ...
Page 4: ......
Page 56: ...50 Reverse Polish Notation RPN ...
Page 64: ...58 Computer algebra system CAS ...
Page 107: ...An introduction to HP apps 101 ...
Page 108: ...102 An introduction to HP apps ...
Page 188: ...182 Spreadsheet these variables is provided in chapter 21 Variables beginning on page 373 ...
Page 220: ...214 Statistics 2Var app ...
Page 252: ...246 Linear Solver app ...
Page 258: ...252 Parametric app ...
Page 268: ...262 Sequence app ...
Page 404: ...398 Units and constants ...
Page 416: ...410 Lists ...
Page 442: ...436 Notes and Info ...
Page 532: ...526 Limiting functionality ...
Page 536: ...530 ...
Page 540: ...534 ...