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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

d�c���l�dZddlZddlmZddlmZddlm	Z	ddlm
Z
mZddlm
Z
Gd�d	��ZdS)
zG Unit tests for nonnegative least squares
Author: Uwe Schmitt
Sep 2008
�N)�assert_)�raises)�nnls)�arange�dot)�normc��eZdZd�Zd�ZdS)�TestNNLSc�8�td���dd��}td��}t||��}t||��\}}t	|dk��t	tt||��|z
��dk��dS)Ng9@����g@gH�����z>)r�reshaperrrr)�self�a�x�y�ress     �@/usr/lib/python3/dist-packages/scipy/optimize/tests/test_nnls.py�	test_nnlszTestNNLS.test_nnlss����4�L�L� � ��A�&�&���3�K�K����!�H�H���a������3���d�
������S��1�X�X�a�Z� � �4�'�(�(�(�(�(�c��tj�d��}|�d���}|�d���}t	t
��5t
||d���ddd��dS#1swxYwYdS)Ni�)�dr)�sizer�)�maxiter)�np�random�RandomState�uniform�
assert_raises�RuntimeErrorr)r�rndmr�bs    r�test_maxiterzTestNNLS.test_maxiters����y�$�$�T�*�*���L�L�j�L�)�)���L�L�c�L�"�"��
�<�
(�
(�	"�	"���A�q�!�!�!�!�	"�	"�	"�	"�	"�	"�	"�	"�	"�	"�	"�	"����	"�	"�	"�	"�	"�	"s� B�B�BN)�__name__�
__module__�__qualname__rr$�rrr
r
s2������)�)�)�"�"�"�"�"rr
)�__doc__�numpyr�
numpy.testingr�pytestrr �scipy.optimizerrr�numpy.linalgrr
r(rr�<module>r/s���������!�!�!�!�!�!�*�*�*�*�*�*���������������������"�"�"�"�"�"�"�"�"�"r

Youez - 2016 - github.com/yon3zu
LinuXploit