U . d Z ddlZddlZddlmZ ej ej d Zg dZddZ ee dd Z d Z ddd dZ ee dd d d Z d d d dZ ddZ ee d!d Zd"dZ ee d#d ZddddZ ee d!ddd ZddddZ ee d!ddd Zd Z ee d Zd"dZ ee 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) overridesnumpy)module)ediff1dintersect1dsetxor1dunion1d setdiff1duniquein1disinc | ||fS N )aryto_endto_begins i/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib64/python3.11/site-packages/numpy/lib/arraysetops.py_ediff1d_dispatcherr ! s "" c b t j | } | j }||| dd | dd z S |d}n]t j | }t j ||d st d | }t | }|d}n]t j | }t j ||d st d | }t | }t t | dz d }t j ||z |z | j }| | }|dk r||d|<