403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.85
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/numpy/ma/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/numpy/ma/tests/__pycache__/test_regression.cpython-311.pyc
�

���c��@�ddlZddlmZmZmZmZGd�d��ZdS)�N)�assert_�assert_array_equal�assert_allclose�suppress_warningsc�\�eZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�ZdS)�TestRegressionc��tj�gd�gd����}ttj�|��gd�g��dS)N)r���r���)rrrr
r
r
rr��mask)r
rr�)�np�ma�masked_arrayr�nonzero)�self�xs  �@/usr/lib/python3/dist-packages/numpy/ma/tests/test_regression.py�test_masked_array_createz'TestRegression.test_masked_array_createsZ���E���7�7�7�$<�$<�$<�
�
>�
>���2�5�=�=��+�+�l�l�l�^�<�<�<�<�<�c�J�tj�ddg���dS)Nr
r)rr�array�rs r�test_masked_arrayz TestRegression.test_masked_arrays"��
����A�Q�C�� � � � � rc��ddlm}m}tjd��}tj|j|��}|||��}||z
dS)Nr)�masked_where�MaskType)r
r
)�numpy.mar!r"r�zeros�shape)rr!r"�a�b�cs      r�test_mem_masked_wherez$TestRegression.test_mem_masked_wheresZ��3�3�3�3�3�3�3�3��H�V�����H�Q�W�h�'�'���L��A����	�!����rc��tj�d��}tjj|d<tjd��}||z||zdS)N)r
r
)rr)r
r)rrr$�masked�rr&r's   r�test_masked_array_multiplyz)TestRegression.test_masked_array_multiplysG���E�K�K������%�,��$���H�V����	�!���	�!����rc�p�tj�dgd����d��dS)Nr
Fr�
)rrr�repeatrs r�test_masked_array_repeatz'TestRegression.test_masked_array_repeat"s0��
����Q�C�e��$�$�+�+�B�/�/�/�/�/rc�^�ttj�d����dS)N�Unicode)�reprrrrrs r�test_masked_array_repr_unicodez-TestRegression.test_masked_array_repr_unicode&s$���R�U�[�[��
#�
#�$�$�$�$�$rc���tj�gd�gd����}tj|��}t	|jjdk��t	|jjdk��dS)N)gg333333�?g@)FTFrr
r)rrr�
atleast_2drr�ndimr,s   r�test_atleast_2dzTestRegression.test_atleast_2d*sj���E������5I�5I�5I��J�J���M�!��������q� �!�!�!�����q� �!�!�!�!�!rc��tj�gd�gd����}d|_t	|jdk��dS)N)r&r'r()r
rrr�X)rrr�
fill_valuer)rr&s  r�test_set_fill_value_unicode_py3z.TestRegression.test_set_fill_value_unicode_py31sF���E������Y�Y�Y��?�?���������#�$�$�$�$�$rc��tj�tjd��d���}tj�dt���}|�|���t
|jdk��dS)NrTr�����dtype)�outr)rrr�arange�float�varr�_data)rr&�mouts   r� test_var_sets_maskedarray_scalarz/TestRegression.test_var_sets_maskedarray_scalar7sc���E�K�K��	�!���4�K�0�0���u�{�{�2�U�{�+�+��	���$�������
�a�� � � � � rc��tj�gd�d��}tjgd���}t	��5}|�td��tj�||d���}tj�||d���}t|j	|j	��ddd��dS#1swxYwYdS)N)r
rrr
rr
)rg@g������@rrzbias and ddof have no effectr)�ddofr
)
rr�masked_equalrr�filter�DeprecationWarning�corrcoefr�data)rr�y�sup�r0�r1s      r�test_ddof_corrcoefz!TestRegression.test_ddof_corrcoef>s����E�������2�2���H�(�(�(�)�)��
�
 �
 �	.�C��J�J�)�+I�J�J�J������1�1��-�-�B������1�1��-�-�B��B�G�R�W�-�-�-�	.�	.�	.�	.�	.�	.�	.�	.�	.�	.�	.�	.����	.�	.�	.�	.�	.�	.s�A:C�C�Cc�X�tj�ddgddg���}t|jjdk��tj|d��}t|jjdk��t|jdk��t|jjdk��dS)N��?�@Fr)r)rr
�rr)rr�MaskedArrayrrr%�tiler,s   r�test_mask_not_backmangledz(TestRegression.test_mask_not_backmangledJs����E���r�2�h�e�U�^��<�<�������$�%�%�%��G�A�v���������$�%�%�%����6�!�"�"�"������&�'�'�'�'�'rc��tj�gd�d���}t|g|dd���dS)N))r
rV)rrW)rg@zi4,f4r@r)rrrYr�rrs  r�test_empty_list_on_structuredz,TestRegression.test_empty_list_on_structuredTsE��
�U�
�
�:�:�:�'�
�
J�
J���2�b�6�2�b�q�b�6�*�*�*�*�*rc���tj�d���d��}t	|�d���|j�����dS)Nr
rX�F)�order)rrrC�reshaper�tobytes�Tr]s  r�!test_masked_array_tobytes_fortranz0TestRegression.test_masked_array_tobytes_fortranYsO��
�U�\�\�!�_�_�
$�
$�U�
+�
+���2�:�:�C�:�0�0�"�$�,�,�.�.�A�A�A�A�ArN)�__name__�
__module__�__qualname__rrr)r-r1r5r9r=rHrTr[r^re�rrrrs�������=�=�=�!�!�!�������0�0�0�%�%�%�"�"�"�%�%�%�!�!�!�
.�
.�
.�(�(�(�+�+�+�
B�B�B�B�Brr)�numpyr�
numpy.testingrrrrrrirr�<module>rls�������������������
TB�TB�TB�TB�TB�TB�TB�TB�TB�TBr

Youez - 2016 - github.com/yon3zu
LinuXploit