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/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

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

6��a<�@sdddlZddlZddlmZmZdd�Zdd�Zdd�Zd	d
�Z	dd�Z
d
d�Zdd�Zdd�Z
dS)�N)�assert_array_equal�assert_cCs,tj�d�}tt|tj��t|jd�dS)N)�)�r)�numpy�matlib�emptyr�
isinstance�np�matrix�shape��x�r�9/usr/lib/python3/dist-packages/numpy/tests/test_matlib.py�
test_emptysrcC�Fttj�d�t�gd�gd�g��ttj�d�t�ddgg��dS)N�r�)��?rrrr)rrr�onesr
rrrrr�	test_ones
�
��"rcCr)Nr)�rrrr)rrr�zerosr
rrrrr�
test_zerosrrcCs0tjjdtd�}t|t�ddgddgg��dS)Nr)�dtyperr)rr�identity�intrr
rr
rrr�
test_identitys rcCs�tjjddtd�}t|t�gd�gd�gd�g��|jjs J�|jj	r&J�tjjddtdd	�}t|t�gd
�gd�gd�g��|jjrGJ�|jj	sMJ�dS)
Nrr)�kr)rrr)rrr)rrr��F)r�order)rrrr)rrrr)rrrr)
rr�eyerrr
r�flags�c_contiguous�f_contiguous)�xc�xfrrr�test_eyes��r*cC�tj�d�}t|jdk�dS�Nrr)rr�randr�ndimr
rrr�	test_rand+�r/cCr+r,)r
r�randnrr.r
rrr�
test_randn0r0r2cCs>t�d�}tj�|dd�}t�gd�gd�g�}t||�dS)Nr!r)rrrrrrrr)r
�arangerr�repmat�arrayr)�a1r�yrrr�test_repmat5s

�r8)rr
�numpy.matlib�
numpy.testingrrrrrrr*r/r2r8rrrr�<module>s

https://t.me/RX1948 - 2025