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/sparse/linalg/_isolve/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/scipy/sparse/linalg/_isolve/__pycache__/utils.cpython-311.pyc
�

d�c���dZgZddlmZmZmZmZddlmZm	Z	m
Z
idd�dd�dd	�d
d�dd�d
d�dd�dd�dd	�dd�dd	�dd�dd�dd�dd�dd�Zd�Zd�Z
d�ZdS)zrestructuredtext en�)�
asanyarray�asarray�array�zeros)�aslinearoperator�LinearOperator�IdentityOperator)�fr
r
)r
�dr)r
�Fr)r
�Dr
)rr
)rr)rr)rr
)rr
)rr)rr)rr
)r
r
)r
r)r
r)r
r
c�8�|dvrd}|dvrd}t||fS)N�fdFDr)�
_coerce_rules)�x�ys  �C/usr/lib/python3/dist-packages/scipy/sparse/linalg/_isolve/utils.py�coercers-����������������1����c��|S�N��rs r�idrs���Hrc�h�|}t|��}|jd|jdkrtd|jf�����|jd}t|��}|j|dfks,|j|fks td|j�d|j�d����|jjdvr|�d��}d	�}t|d
��r
|jj}n|�|��jj}t||jj��}t||���}|���}|��t|d
��r|j}nt}t|d��r|j}	nt}	|tur%|	turt|j|j���}nLt!|j||	|j���}n.t|��}|j|jkrtd���|�t#||���}
n�t%|t&��r0|dkr)|���}|�|��}
n^t+||���}
|
j|dfks,|
j|fks td|j�d|
j�d����|
���}
|||
||fS)a�Make a linear system Ax=b

    Parameters
    ----------
    A : LinearOperator
        sparse or dense matrix (or any valid input to aslinearoperator)
    M : {LinearOperator, Nones}
        preconditioner
        sparse or dense matrix (or any valid input to aslinearoperator)
    x0 : {array_like, str, None}
        initial guess to iterative method.
        ``x0 = 'Mb'`` means using the nonzero initial guess ``M @ b``.
        Default is `None`, which means using the zero initial guess.
    b : array_like
        right hand side

    Returns
    -------
    (A, M, x, b, postprocess)
        A : LinearOperator
            matrix of the linear system
        M : LinearOperator
            preconditioner
        x : rank 1 ndarray
            initial guess
        b : rank 1 ndarray
            right hand side
        postprocess : function
            converts the solution vector to the appropriate
            type and dimensions (e.g. (N,1) matrix)

    r�z&expected square matrix, but got shape=zshapes of A z and b z are incompatiblerrc��|Srrrs r�postprocessz make_system.<locals>.postprocessQs���r�dtype)rN�psolve�rpsolve)�shaper)�matvec�rmatvecrz/matrix and preconditioner have different shapes�Mbz and x0 )rr"�
ValueErrorrr�char�astype�hasattrr#rr�ravelr rr!r	rr�
isinstance�str�copyr)�A�M�x0�b�A_�Nr�xtyper r!r�bCopys            r�make_systemr6s���B
�B�����A��w�q�z�Q�W�Q�Z����N�1�7�*�N�N�O�O�O�	���
�A��1�
�
�A�
�G��!�u�����A�4����(���(�(���(�(�(�)�)�	)�	�w�|�6�!�!�
�H�H�S�M�M������q����'������������!�&���5�!�'�,�'�'�E�������A�	���	�	�A�	�y��2�h���	��Y�F�F��F��2�i� � �	��j�G�G��G��R�<�<�G�r�M�M� �q�w�a�g�>�>�>�A�A��q�w�v�w�%&�W�.�.�.�A�A�
�Q�����7�a�g����N�O�O�O�
�z��!�5�!�!�!���	�B��	�	�	�
��:�:��F�F�H�H�E�������A���"�E�"�"�"����A�q�6�!�!�Q�W���_�_��>�A�G�>�>�#$�7�>�>�>�?�?�
?�
�G�G�I�I���a��A�{�"�"rN)�
__docformat__�__all__�numpyrrrr�scipy.sparse.linalg._interfacerrr	rrrr6rrr�<module>r;sU��%�
�
��4�3�3�3�3�3�3�3�3�3�3�3����������� ��3� �	�#� �y�� ��3� � )�#� �/8�� ��3� � )�#� �/8�� ��3� �!*�#� �09�� ��3�	 �!*�#�	 �09��	 �
�3� �
����
�
�
�`#�`#�`#�`#�`#r

Youez - 2016 - github.com/yon3zu
LinuXploit