§
    `Štj¡  ã                   ób   — d Z ddlmZ ddlmZmZ ddlmZ g d¢Z ed¦  «        d„ ¦   «         Z	dS )	z
Miscellaneous utils.
é    )Úasarray)Únormalize_axis_indexÚnormalize_axis_tuple)Ú
set_module)Úbyte_boundsr   r   znumpy.lib.array_utilsc                 ó  — | j         }|d         d         }|d         }|d         }t          | ¦  «        j        j        }|x}}|€|| j        |z  z  }n8t          ||¦  «        D ]"\  }}	|	dk     r||dz
  |	z  z  }Œ||dz
  |	z  z  }Œ#||z  }||fS )a^  
    Returns pointers to the end-points of an array.

    Parameters
    ----------
    a : ndarray
        Input array. It must conform to the Python-side of the array
        interface.

    Returns
    -------
    (low, high) : tuple of 2 integers
        The first integer is the first byte of the array, the second
        integer is just past the last byte of the array.  If `a` is not
        contiguous it will not use every byte between the (`low`, `high`)
        values.

    Examples
    --------
    >>> import numpy as np
    >>> I = np.eye(2, dtype='f'); I.dtype
    dtype('float32')
    >>> low, high = np.lib.array_utils.byte_bounds(I)
    >>> high - low == I.size*I.itemsize
    True
    >>> I = np.eye(2); I.dtype
    dtype('float64')
    >>> low, high = np.lib.array_utils.byte_bounds(I)
    >>> high - low == I.size*I.itemsize
    True

    Údatar   ÚstridesÚshapeNé   )Ú__array_interface__r   ÚdtypeÚitemsizeÚsizeÚzip)
ÚaÚaiÚa_dataÚastridesÚashapeÚbytes_aÚa_lowÚa_highr   Ústrides
             úY/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/numpy/lib/_array_utils_impl.pyr   r      sÄ   € ðD 
Ô	€BØ�ŒZ˜Œ]€FØ�)Œ}€HØ�Œ[€FÝ�a‰jŒjÔÔ'€GàÐ€EˆFØÐà�!”&˜7Ñ"Ñ"ˆˆå  ¨Ñ2Ô2ð 	/ð 	/‰MˆE�6Ø˜ŠzˆzØ˜% !™) vÑ-Ñ-��à˜5 1™9¨Ñ.Ñ.��Ø�'ÑˆØ�&ˆ=Ðó    N)
Ú__doc__Únumpy._corer   Únumpy._core.numericr   r   Únumpy._utilsr   Ú__all__r   © r   r   ú<module>r#      s‰   ððð ð  Ð Ð Ð Ð Ð Ø JÐ JÐ JÐ JÐ JÐ JÐ JÐ JØ #Ð #Ð #Ð #Ð #Ð #à
IÐ
IÐ
I€ð €Ð#Ñ$Ô$ð2ð 2ñ %Ô$ð2ð 2ð 2r   