유지조건 명령

GeoGebra Manual
Mathcare (토론 | 기여)님의 2020년 6월 28일 (일) 20:17 판
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
이동: 둘러보기, 검색
Accessories dictionary.png
이 페이지는 공식 매뉴얼에서 출력과 pdf를 위한 부분입니다. 일반 사용자들은 이 페이지를 편집할 수 없습니다. 만일 이 페이지에서 오류를 발견하였으면, 연락하여 주시기 바랍니다.사용자에 의해 편집 가능한 버전으로 이동
KeepIf( <Condition>, <List> )
Creates a new list that only contains those elements of the initial list that fulfil the condition.
예: KeepIf(x<3, {1, 2, 3, 4, 1, 5, 6}) returns the new list {1, 2, 1}.
노트: For list of numbers arbitrary condition may be used. For list of other objects one can use only conditions of the form x==constant or x!=constant.
KeepIf( <Condition>, <Variable>, <List> )
This syntax allows a more flexible condition.
예: For Points P, Q, R KeepIf(x(A) < 3, A, {P, Q, R}) will filter the points whose x-coordinate is less than 3 out of the list. The variable A is replaced in turn with P then Q then R for the check.
© 2024 International GeoGebra Institute