원소 명령
GeoGebra Manual
이 페이지는 공식 매뉴얼에서 출력과 pdf를 위한 부분입니다. 일반 사용자들은 이 페이지를 편집할 수 없습니다. 만일 이 페이지에서 오류를 발견하였으면, 연락하여 주시기 바랍니다.사용자에 의해 편집 가능한 버전으로 이동
- Element( <List>, <Position of Element n> )
- Yields the nth element of the list.
- 예:
Element({1, 3, 2}, 2)
yields 3, the second element of {1, 3, 2}. - 노트: In the CAS View undefined variables can be used as well.
- 예:
Element({a, b, c}, 2)
yields b, the second element of {a, b, c}.
- Element( <Matrix>, <Row>, <Column> )
- Yields the element of the matrix in the given row and column.
- 예:
Element({{1, 3, 2}, {0, 3, -2}}, 2, 3)
yields -2, the third element of the second row of \begin{pmatrix}1&3&2\\0&3&-2\end{pmatrix}. - 노트: In the CAS View undefined variables can be used as well.
- 예:
Element({{a, b, c}, {d, e, f}}, 2, 3)
yields f, the third element of the second row of \begin{pmatrix}a&b&c\\d&e&f\end{pmatrix}.
- Element( <List>, <Index1>, <Index2>, ...)
- Provided list is n-dimensional list, one can specify up to n indices to obtain an element (or list of elements) at given coordinates.
- 예:Let L = {{{1, 2}, {3, 4}}, {{5, 6}, {7, 8}}}.Then
Element(L, 1, 2, 1)
yields 3,Element(L, 2, 2)
yields {7, 8}.
노트:
- This command only works, if the list or matrix contains elements of one object type (e. g. only numbers or only points).