https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/numpy/lib/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/numpy/lib/tests/__pycache__/test_arrayterator.cpython-310.pyc
o

6��a�@sPddlmZddlmZddlZddlmZddlm	Z	ddl
mZdd�ZdS)	�)�mul)�reduceN��randint)�Arrayterator)�assert_c
CsBtj�t�d��td�d}tdd�t|�D��}tt|�}t�|�}||_	td|�}t
||�}|D]
}tt|j
�|p>|k�q4tt|j
�t|j
�k�dd�|D�}d	d�|D�}d
d�|D�}	tdd�t|||	�D��}
||
}||
}|D]
}tt|j
�|p�|k�qztt�|��|k��tt|j
�t|j
�k�dS)N�
��css�|]	}td�dVqdS)rr
Nr��.0�dim�r�C/usr/lib/python3/dist-packages/numpy/lib/tests/test_arrayterator.py�	<genexpr>s�ztest.<locals>.<genexpr>�cSsg|]}t|��qSrrrrrr�
<listcomp>sztest.<locals>.<listcomp>cS�g|]}t|�d�qS�r
rrrrrr �cSrrrrrrrr!rcss�|]}t|�VqdS)N)�slice)r�trrrr"s�)�np�random�seed�aranger�tuple�rangerr�shaperr�len�flat�list�zip�all�	__array__)
�ndimsr�els�a�buf_size�b�block�start�stop�step�slice_�c�drrr�test
s*


r1)
�operatorr�	functoolsr�numpyr�numpy.randomr�	numpy.libr�
numpy.testingrr1rrrr�<module>s

https://t.me/RX1948 - 2025