### Navigation

- index
- modules |
- next |
- previous |
- NumPy v1.3 Manual (DRAFT) »
- NumPy Reference »
- Routines »

# Set routines

## Making proper sets

`unique1d` (ar1[, return_index, return_inverse]) | Find the unique elements of an array.

## Boolean operations

`intersect1d` (ar1, ar2) | Intersection returning repeated or unique elements common to both arrays.
`intersect1d_nu` (ar1, ar2) | Intersection returning unique elements common to both arrays.
`setdiff1d` (ar1, ar2) | Set difference of 1D arrays with unique elements.
`setmember1d` (ar1, ar2) | Return a boolean array set True where first element is in second array.
`setxor1d` (ar1, ar2) | Set exclusive-or of 1D arrays with unique elements.
`union1d` (ar1, ar2) | Union of 1D arrays with unique elements.

### Navigation

- index
- modules |
- next |
- previous |
- NumPy v1.3 Manual (DRAFT) »
- NumPy Reference »
- Routines »