uniq
From DavinciWiki
Contents: Description, Arguments, Usage, Examples, Sub-Functions, Related Functions, Source Supported Under Version: >1.00
Description Get the uniq values associated from a one dimensional input array.
Arguments and Return Values Arguments: One dimensional numerical array Return Value: Numerically sorted unique values from the one dimensional array
Usage Syntax: uniq(input) input - a one dimensional numerical array with the data on any axis.
Examples dv> a=create(10,1,1,start=1) 10x1x1 array of int, bsq format [40 bytes] 1 2 3 4 5 6 7 8 9 10 dv> b=create(10,1,1,start=5) 10x1x1 array of int, bsq format [40 bytes] 5 6 7 8 9 10 11 12 13 14 dv> c=cat(a,b,axis=x) 20x1x1 array of int, bsq format [80 bytes] 1 2 3 4 5 6 7 8 9 10 5 6 7 8 9 10 11 12 13 14 dv> d=uniq(c) 14x1x1 array of int, bsq format [56 bytes] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Major Sub-Functions
Related Functions
Recent Library Changes Created On: 04-05-2007 |