Set routines#
Making proper sets#
| 
 | Find the unique elements of an array. | 
| 
 | Find the unique elements of an array, and counts, inverse, and indices. | 
| Find the unique elements and counts of an input array x. | |
| Find the unique elements of x and indices to reconstruct x. | |
| Returns the unique elements of an input array x. | 
Boolean operations#
| 
 | Test whether each element of a 1-D array is also present in a second array. | 
| 
 | Find the intersection of two arrays. | 
| 
 | Calculates  | 
| 
 | Find the set difference of two arrays. | 
| 
 | Find the set exclusive-or of two arrays. | 
| 
 | Find the union of two arrays. |