hyb
2026-01-09 4cb426cb3ae31e772a09d4ade5b2f0242aaeefa0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Ë
KñúhßãóT—dZddlmZddlmZmZddlmZgd¢Zed«d„«Z    y)    z
Miscellaneous utils.
é)Úasarray)Únormalize_axis_indexÚnormalize_axis_tuple)Ú
set_module)Ú byte_boundsrrznumpy.lib.array_utilscó&—|j}|dd}|d}|d}t|«jj}|x}}|€||j|zz }||fSt ||«D]!\}}    |    dkr ||dz
|    zz }Œ||dz
|    zz }Œ#||z }||fS)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Úshapeé)Ú__array_interface__rÚdtypeÚitemsizeÚsizeÚzip)
ÚaÚaiÚa_dataÚastridesÚashapeÚbytes_aÚa_lowÚa_highr Ústrides
          úNH:\Change_password\venv_build\Lib\site-packages\numpy/lib/_array_utils_impl.pyrr sҀðD
×    Ñ    €BØ ‰Z˜‰]€Fؐ)‰}€HØ ‰[€Fܐa‹j×Ñ×'Ñ'€GàЀEˆFØÐà!—&‘&˜7Ñ"Ñ"ˆð &ˆ=Ðô ! ¨Ó2ò    /‰MˆE6ؘŠzؘ% !™) vÑ-Ñ-‘à˜5 1™9¨Ñ.Ñ.‘ð        /ð
    'ÑˆØ &ˆ=ÐóN)
Ú__doc__Ú numpy._corerÚnumpy._core.numericrrÚ numpy._utilsrÚ__all__r©rrú<module>r#s4ðñõ ßJÝ#â
I€ñ Ð #Ó$ñ2ó%ñ2r