Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/numpy/lib/__pycache__/arraysetops.cpython-39.pyc
Ðазад
a e�hw� � @ sT d Z ddlZddlZddlmZ ejejdd�Zg d�Zd/dd�Z ee �d0d d ��Z dd� Zd1dd �dd�Zee�d2dd �dd��Z d3dd �dd�Zd4dd�Zee�d5dd��Zd6dd�Zee�d7dd��Zd8dd�dd �Zee�d9dd�d!d"��Zd:dd�d#d$�Zee�d;dd�d%d&��Zd'd(� Zee�d)d*� �Zd<d+d,�Zee�d=d-d.��ZdS )>a~ Set operations for arrays based on sorting. 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 `numpy.sort`, that can provide directly the permutation vectors, thus avoiding calls to `numpy.argsort`. Original author: Robert Cimrman � N)� overrides�numpy)�module)�ediff1d�intersect1d�setxor1d�union1d� setdiff1d�unique�in1d�isinc C s | ||fS �N� )�ary�to_end�to_beginr r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/numpy/lib/arraysetops.py�_ediff1d_dispatcher! s r c C sN t �| ��� } | j}|du r<|du r<| dd� | dd� S |du rJd}n2t �|�}t j||dd�sltd��|�� }t|�}|du r�d}n2t �|�}t j||dd�s�td��|�� }t|�}tt| �d d�}t j|| | | jd �}| � |�}|dk�r||d|�<