+
    0i;                         R t . t^ RIHtHtHtHt ^ RIHtH	t	H
t
 / RRbRRbRRbRRbRRbRRbRRbRRbRRbRRbRRbRRbRRbRRbRRbRRbtR tR tR	 tR
# )zrestructuredtext en)
asanyarrayasarrayarrayzeros)aslinearoperatorLinearOperatorIdentityOperatorfdFDc                 B    V R 9  d   Rp VR 9  d   Rp\         W3,          # )fdFDr
   )_coerce_rules)xys   &&_/var/www/html/photoedit/myenv/lib/python3.14/site-packages/scipy/sparse/linalg/_isolve/utils.pycoercer      s'        c                     V # )N )r   s   &r   idr      s    Hr   c                   T p\        V 4      p V P                  ^ ,          V P                  ^,          8w  d   \        RV P                  3 24      hV P                  ^ ,          p\        V4      pVP                  V^38X  g9   VP                  V38X  g'   \        RV P                   RVP                   R24      hVP                  P
                  R9  d   VP                  R4      p\        V R4      '       d   V P                  P
                  pM%V P                  V4      P                  P
                  p\        WcP                  P
                  4      p\        W6R7      pVP                  4       pVf   \        VR	4      '       d   VP                  pM\        p\        VR
4      '       d   VP                  pM\        pV\        J d-   V\        J d#   \        V P                  V P                  R7      pMT\!        V P                  WxV P                  R7      pM1\        V4      pV P                  VP                  8w  d   \        R4      hVf   \#        WVR7      p	M\%        V\&        4      '       d*   VR8X  d"   VP)                  4       p
VP                  V
4      p	Mg\+        W&R7      p	V	P                  V^38X  g9   V	P                  V38X  g'   \        RV P                   RV	P                   R24      hV	P                  4       p	WX	V3# )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)
    A : LinearOperator
        matrix of the linear system
    M : LinearOperator
        preconditioner
    x : rank 1 ndarray
        initial guess
    b : rank 1 ndarray
        right hand side

z&expected square matrix, but got shape=zshapes of A z and b z are incompatibler   r
   dtype)r   psolverpsolve)shaper   )matvecrmatvecr   z/matrix and preconditioner have different shapesMbz and x0 )r   r   
ValueErrorr   r   charastypehasattrr   r   r   ravelr   r   r   r   r   r   
isinstancestrcopyr   )AMx0bA_Nxtyper   r   r   bCopys   &&&&       r   make_systemr0      sb   < 
BAwwqzQWWQZA177*NOO	
A1AGG!uA4<yy A( ( ) 	) 	ww||6!HHSMq!!&&5'',,'EA		A 	y2hYYFF2i  jjGGR<GrM qwwagg>Aqwwv%&WW.A Q77aggNOO 
z!!	B		:FFHEA""Aq6!QWW_|AGG9 5##$77)+<> ? ?GGIA:r   N)r	   r	   )r	   r
   )r	   r   )r	   r   )r
   r	   )r
   r
   )r
   r   )r
   r   )r   r	   )r   r
   )r   r   )r   r   )r   r	   )r   r
   )r   r   )r   r   )__docformat____all__numpyr   r   r   r   scipy.sparse.linalg._interfacer   r   r   r   r   r   r0   r   r   r   <module>r5      s   %
 4 3  3  	#  y  3  )# /8 3  )# /8  3  !*#  09  3	  !*#	  09	 
 3 Zr   