HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //opt/alt/python37/lib64/python3.7/site-packages/numpy/tests/__pycache__/test_matlib.cpython-37.pyc
B

��FdV�@s�ddlmZmZmZddlZddlZddlmZm	Z	m
Z
dd�Zdd�Zdd	�Z
d
d�Zdd
�Zdd�Zdd�Zdd�Zedkr�e
�dS)�)�division�absolute_import�print_functionN)�assert_array_equal�assert_�run_module_suitecCs,tj�d�}tt|tj��t|jd�dS)N)�)�r)�numpy�matlib�emptyr�
isinstance�np�matrix�shape)�x�r��/builddir/build/BUILDROOT/alt-python37-numpy-1.13.3-8.el8.x86_64/opt/alt/python37/lib64/python3.7/site-packages/numpy/tests/test_matlib.py�
test_emptysrcCsJttj�d�t�dddgdddgg��ttj�d�t�ddgg��dS)N)r�g�?r)rr
r�onesrrrrrr�	test_onessrcCsJttj�d�t�dddgdddgg��ttj�d�t�ddgg��dS)N)rrgr)rr
r�zerosrrrrrr�
test_zerossrcCs2tjjdtjd�}t|t�ddgddgg��dS)Nr)�dtyper	r)r
r�identityr�intrr)rrrr�
test_identitysrc	Cs>tjjddtd�}t|t�dddgdddgdddgg��dS)Nrr	)�krr)r
r�eyerrrr)rrrr�test_eyesr cCstj�d�}t|jdk�dS)Nrr)r
r�randr�ndim)rrrr�	test_rand$sr#cCstj�d�}t|jdk�dS)Nrr)rr�randnrr")rrrr�
test_randn)sr%cCsVt�d�}tj�|dd�}t�ddddddddgddddddddgg�}t||�dS)N�rrr	r)r�aranger
rZrepmat�arrayr)�a1r�yrrr�test_repmat.s

r+�__main__)�
__future__rrrr
rZnumpy.matlibZ
numpy.testingrrrrrrrr r#r%r+�__name__rrrr�<module>s