simpeg.utils.unique_rows#
- simpeg.utils.unique_rows(M)[source]#
- Return unique rows, row indices and inverse indices. - Parameters:
- Marray_like
- The input array 
 
- Returns:
- unqMnumpy.ndarray
- Array consisting of the unique rows of the input array 
- unqIndnumpy.ndarrayofint
- Indices to project from input array to output array 
- unqIndnumpy.ndarrayofint
- Indices to project from output array to input array 
 
- unqM
 
