Difference between revisions of "Element Command"

From GeoGebra Manual
Jump to: navigation, search
Line 2: Line 2:
 
{{command|list}}
 
{{command|list}}
 
; Element[List, Number n]: Yields the ''n''<sup>th</sup> element of the list.
 
; Element[List, Number n]: Yields the ''n''<sup>th</sup> element of the list.
: {{Note| The list can contain elements of one object type only (e. g., only numbers or only points).}}
+
; Element[List, Index1, Index2, ...]
 +
; Element[Matrix, Row, Column]: Yields the element of the matrix in the given row and column.
 +
: {{Note| For this command to work, the list or matrix can contain elements of one object type only (e. g., only numbers or only points).}}

Revision as of 18:15, 15 July 2011


Element[List, Number n]
Yields the nth element of the list.
Element[List, Index1, Index2, ...]
Element[Matrix, Row, Column]
Yields the element of the matrix in the given row and column.
Note: For this command to work, the list or matrix can contain elements of one object type only (e. g., only numbers or only points).
© 2024 International GeoGebra Institute