Unique Command

From GeoGebra Manual
Revision as of 20:25, 9 March 2013 by Zbynek (talk | contribs) (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
Jump to: navigation, search



Unique[ <List L> ]
Returns list of elements of list L in ascending order, repetitive elements are included only once. Works for both a list of numbers and a list of text. See also the Frequency command.
Example:
  • Unique[{1, 2, 4, 1, 4}] yields {1, 2, 4}.
  • Unique[{"a", "b", "Hello", "Hello"}] yields {"'Hello", "a", "b"}.

CAS Syntax

Unique[ <List L> ]
Returns a list where each element of L occurs only once.
Example:
Unique[{1, x, x, 1, a}] yields {1, x, a}.
© 2022 International GeoGebra Institute