%UNIQUE Set unique.
%   C = UNIQUE(A)
%   [C,IA,IC] = UNIQUE(A)
%   [C,IA,IC] = UNIQUE(A,OCCURRENCE)
%   [C,IA,IC] = UNIQUE(A,'rows',OCCURRENCE)
%   [C,IA,IC] = UNIQUE(A,'STABLE')
%   [C,IA,IC] = UNIQUE(A,'rows','STABLE')
%   
%   The 'legacy' flag is not supported.
%   64-bit integers are not supported.
%   
%   Example:
%    
%       a = gpuArray([9 9 9 9 9 9 8 8 8 8 7 7 7 6 6 6 5 5 4 2 1])
%       [c1,ia1,ic1] = unique(a)
%       % returns
%       c1 = [1 2 4 5 6 7 8 9]
%       ia1 = [21 20 19 17 14 11 7 1]'
%       ic1 = [8 8 8 8 8 8 7 7 7 7 6 6 6 5 5 5 4 4 3 2 1]'
%   
%   See also UNIQUE, gpuArray.


%   Copyright 2015-2016 The MathWorks, Inc.
