Home > Objects > @iData > unique.m

iFit/unique

PURPOSE ^

s = unique(a,dim) : set unique iData objects axes with no repetitions

SYNOPSIS ^

function s = unique(a,dim,mode)

DESCRIPTION ^

 s = unique(a,dim) : set unique iData objects axes with no repetitions

   @iData/unique function to remove duplicates along data set axes
     unique(a,dim) set unique along axis of rank dim. 
       If dim=0, operates on all axes.
   Alternatively, you can use 'isequal' to find unique data sets and remove 
     duplicates.

 input:  a: object or array (iData)
         dim: dimension to unique (int)
 output: s: data set with unique axes (iData)
 ex:     c=unique(a);

 Version: Nov. 26, 2018
 See also iData, iData/plus, iData/unique, iData/sort, iData/isequal

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 26-Nov-2018 15:08:42 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1