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: Aug. 22, 2017
 See also iData, iData/plus, iData/unique, iData/sort, iData/isequal

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 22-Aug-2017 11:03:30 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1