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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

d�cy��d�ddlZddlmZmZddlmcmZGd�d��Z	Gd�d��Z
dS)�N)�assert_allclose�assert_equalc��eZdZd�Zd�ZdS)�	TestDGEMMc��tjdd����d��dd�dd�f}tjddd����d��dd�dd�f}tjd	��dd�dd�f}t	jd
||d|��t
||�|����t	jd
|j|d|��t
||j�|����t	jd
||jd|��t
||�|j����t	jd
|j|jd|��t
||j�|j����t	jd
||d|j��t
||�|��j��t	jd
|j|d|j��t
||j�|��j��t	jd
||jd|j��t
||�|j��j��t	jd
|j|jd|j��t
||j�|j��j��dS)N��d��dtype������
)rr
�rr��?��	�np�arange�reshape�empty�blas�_test_dgemmr�dot�T��self�a�b�cs    �E/usr/lib/python3/dist-packages/scipy/linalg/tests/test_cython_blas.py�test_transposeszTestDGEMM.test_transposessX���I�b��$�$�$�,�,�V�4�4�R�a�R����U�;���I�a��3�'�'�'�/�/��7�7����2�A�2��>���H�V���R�a�R����U�#�����Q��2�q�)�)�)���1�5�5��8�8�$�$�$����Q�S�!�R��+�+�+���1�3�7�7�1�:�:�&�&�&����Q���R��+�+�+���1�5�5���:�:�&�&�&����Q�S�!�#�r�1�-�-�-���1�3�7�7�1�3�<�<�(�(�(����Q��2�q�s�+�+�+���1�5�5��8�8�:�&�&�&����Q�S�!�R���-�-�-���1�3�7�7�1�:�:�<�(�(�(����Q���R���-�-�-���1�5�5���:�:�<�(�(�(����Q�S�!�#�r�1�3�/�/�/���1�3�7�7�1�3�<�<�>�*�*�*�*�*�c��tjdd����d��}tjddd����d��}tjd��}t	jd	||d
|��t
||�|����t	jd	|j|jd
|j��t
||j�|j��j��dS)N�r	r
)r
ri����rrrrrrrs    r#�test_shapeszTestDGEMM.test_shapes&s����I�a�s�#�#�#�+�+�F�3�3���I�b�!�3�'�'�'�/�/��7�7���H�V�������Q��2�q�)�)�)���1�5�5��8�8�$�$�$����Q�S�!�#�r�1�3�/�/�/���1�3�7�7�1�3�<�<�>�*�*�*�*�*r%N)�__name__�
__module__�__qualname__r$r(�r%r#rrs2������+�+�+�<	+�	+�	+�	+�	+r%rc�*�eZdZdZd�Zd�Zd�Zd�ZdS)�TestWfuncPointersz� Test the function pointers that are expected to fail on
    Mac OS X without the additional entry statement in their definitions
    in fblas_l1.pyf.src. c	�r�tjgd�tj��}tjgd�tj��}tt	j||��dd��tt	j||��dd��tt	j|��d��tt	j	|��dd��tt	j
|��dd��tt	j|ddd	�|ddd	���d
d��tt	j|ddd	�|ddd	���dd��tt	j	|ddd	���dd��tt	j
|ddd	���d
d��dS)N)��?�?��?ؿy)@�)y�������?@��?��@yI!���1���?3_5@�y4�fv�a+��P>@r
g�2@gKg�[*@ryI!��2���?335@y4�ff�a+���>@g2@g8f�X*@)r�array�	complex64rr�_test_cdotc�_test_cdotur�_test_icamax�_test_scasum�_test_scnrm2�r�cx�cys   r#�test_complex_argsz#TestWfuncPointers.test_complex_args6s���
�X�9�9�9�2�<�
H�
H��
�X�9�9�9�2�<�
H�
H����(��R�0�0�5�q�	:�	:�	:���(��R�0�0�5�q�	:�	:�	:�	�T�&�r�*�*�A�.�.�.���)�"�-�-�v�q�9�9�9���)�"�-�-�}�a�@�@�@���(��C�C�a�C��"�S�S�q�S�'�:�:�5�q�	:�	:�	:���(��C�C�a�C��"�S�S�q�S�'�:�:�5�q�	:�	:�	:���)�"�S�S�q�S�'�2�2�C��;�;�;���)�"�S�S�q�S�'�2�2�M�1�E�E�E�E�Er%c	��tjgd�tj��}tjgd�tj��}tt	j|��dd��tt	j||��dd��tt	j|��dd��tt	j|ddd���dd��tt	j|ddd�|ddd���d	d��tt	j|ddd���d
d��tt	j	|��d��dS)N�g@���g࿩rrg�?�!@�
�@��`�h@r�@��#@�J@�@r)
rr5�float64rr�_test_dasum�
_test_ddot�_test_dnrm2r�_test_idamax�r�x�ys   r#�test_double_argsz"TestWfuncPointers.test_double_argsLs)���H�]�]�]�B�J�/�/���H�Z�Z�Z���,�,����(��+�+�S�"�5�5�5�����1�-�-�t�R�8�8�8���(��+�+�]�B�?�?�?���(��3�3�Q�3��0�0�#�r�:�:�:�����#�#�A�#���#�#�A�#��7�7��r�B�B�B���(��3�3�Q�3��0�0�,��C�C�C��T�&�q�)�)�1�-�-�-�-�-r%c	��tjgd�tj��}tjgd�tj��}tt	j|��d��t
t	j|��dd��t
t	j||��dd��t
t	j	|��dd��t
t	j|ddd���d	d��t
t	j|ddd�|ddd���d
d��t
t	j	|ddd���dd��dS)NrArCrrDr4rFrGrrHrIrJ)
rr5�float32rr�_test_isamaxr�_test_sasum�
_test_sdot�_test_snrm2rPs   r#�test_float_argsz!TestWfuncPointers.test_float_args[s)���H�]�]�]�B�J�/�/���H�Z�Z�Z���,�,���T�&�q�)�)�1�-�-�-���(��+�+�S�!�4�4�4�����1�-�-�t�Q�7�7�7���(��+�+�]�A�>�>�>���(��3�3�Q�3��0�0�#�q�9�9�9�����#�#�A�#���#�#�A�#��7�7��q�A�A�A���(��3�3�Q�3��0�0�,��B�B�B�B�Br%c	�6�tjgd�tj��}tjgd�tj��}tt	j|��d��t
t	j||��dd��t
t	j||��dd��t
t	j|ddd�|ddd���dd��t
t	j|ddd�|ddd���d	d��dS)
N)r0r1y*@�)y�?@r2r3r
y2�L6@rEyP�d?@ry�2� 6@y@��?@)	rr5�
complex128rr�_test_izamaxr�_test_zdotc�_test_zdotur<s   r#�test_double_complex_argsz*TestWfuncPointers.test_double_complex_argsjs��
�X�8�8�8�"�-�
H�
H��
�X�;�;�;�R�]�
K�
K���T�&�r�*�*�A�.�.�.���(��R�0�0�2G��L�L�L���(��R�0�0�2F��K�K�K���(��C�C�a�C��"�S�S�q�S�'�:�:�(�"�	.�	.�	.���(��C�C�a�C��"�S�S�q�S�'�:�:�'��	-�	-�	-�	-�	-r%N)r)r*r+�__doc__r?rSrZr`r,r%r#r.r.1s`��������F�F�F�,
.�
.�
.�
C�
C�
C�
-�
-�
-�
-�
-r%r.)�numpyr�
numpy.testingrr�scipy.linalg.cython_blas�linalg�cython_blasrrr.r,r%r#�<module>rgs�������)�)�)�)�)�)�)�)�'�'�'�'�'�'�'�'�'�)+�)+�)+�)+�)+�)+�)+�)+�VF-�F-�F-�F-�F-�F-�F-�F-�F-�F-r%

Youez - 2016 - github.com/yon3zu
LinuXploit