Difference between revisions of "Unique"

m (adding doc status category)
Line 8: Line 8:
 
  Unique(A : Array[I] ; I : Index )
 
  Unique(A : Array[I] ; I : Index )
  
= When to use:
+
= When to use:=
  
 
Use Unique to remove duplicate slices from an array, or to identify a single member of each equivalence class.
 
Use Unique to remove duplicate slices from an array, or to identify a single member of each equivalence class.

Revision as of 20:15, 24 September 2009


Returns a maximal subset of I such that each indicated slice of A along I is unique.

Declaration

Unique(A : Array[I] ; I : Index )

When to use:

Use Unique to remove duplicate slices from an array, or to identify a single member of each equivalence class.

See also

Comments


You are not allowed to post comments.