UNIQUE Name
UNIQUE Purpose
Return the unique elements of an array.
Category
Calling Sequence
out = unique(in, count) Inputs
in = input array to process. in
Keyword Parameters
Keywords
/SORT means sort array before selecting unique elements.
Outputs
out = returned unique elements from in. out
count = cw# occurances of each unique element. out
Common Blocks
Notes
Notes: unsorted arrays only have repeated elements
dropped, use /SORT to drop all extra repeated elements.
Modification History
R. Sterner, 4 Oct, 1993
R. Sterner, 5 Oct, 1993 --- added count.
Copyright (C) 1993, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.