File: //opt/alt/python37/lib64/python3.7/site-packages/numpy/lib/__pycache__/arraysetops.cpython-37.pyc
B
<�Fd�N � @ s� d Z ddlmZmZmZ ddlZdddddd d
dgZddd�Zddd �Z ddd�Z
ddd�Zddd�Zddd
�Z
ddd�Zdd� Zddd�ZdS )a
Set operations for arrays based on sorting.
:Contains:
unique,
isin,
ediff1d,
intersect1d,
setxor1d,
in1d,
union1d,
setdiff1d
:Notes:
For floating point arrays, inaccurate results may appear due to usual round-off
and floating point comparison issues.
Speed could be gained in some operations by an implementation of
sort(), that can provide directly the permutation vectors, avoiding
thus calls to argsort().
To do: Optionally return indices analogously to unique for all functions.
:Author: Robert Cimrman
� )�division�absolute_import�print_functionN�ediff1d�intersect1d�setxor1d�union1d� setdiff1d�unique�in1d�isinc C s t �| ��� } |dkr6|dkr6| dd� | dd� S |dkrDd}nt �|��� }t|�}|dkrhd}nt �|��� }t|�}tt| �d d�}t j|| | | jd�}| �|�}|dkr�||d|�<