Previous Up Next

2.35.3  Get an element of a sequence : []

The elements of a sequence have indexes begining at 0 in Xcas mode or 1 in other modes.
A sequence or a variable name assigned to a sequence followed by [n] returns the element of index n of the sequence.
Input :

(0,3,2)[1]

Output :

3

Previous Up Next