+
    /i                        ^ RI t^ RIHtHtHt ^ RI HtHtHtH	t	H
t
HtHtHtHtHtHtHtHt ^ RIHt ^ RIHt ^ RItR tR tR tR	 t]P8                  P;                  R
]].4      ]P8                  P;                  R^^.4      R 4       4       t]P8                  P;                  R
]].4      ]P8                  P;                  R^^.4      R 4       4       tR# )    N)assert_array_almost_equalassert_allcloseassert_)arrayeyezeros
empty_likeemptytril_indices_fromtriltriu_indices_fromspacingfloat32float64	complex64
complex128)ComplexWarning)ldlc                  ^   \        ^4      p \        P                  ! \        4      ;_uu_ 4        \	        V R,          4       RRR4       \        P
                  ! \        4      ;_uu_ 4        \	        V R,          4       RRR4       R#   + '       g   i     LO; i  + '       g   i     R# ; i)   N              ?)NNN:N   N)r   pytestraises
ValueErrorr   warnsr   )As    `/var/www/html/photoedit/myenv/lib/python3.14/site-packages/scipy/linalg/tests/test_decomp_ldl.py	test_argsr       sc    AA	z	"	"AeH 
# 
n	%	%AbD	 
&	% 
#	" 
&	%	%s   B+BB	B,	c                      \        R\        R7      p \        \        R4      4      w  rp\        V\	        V 4      4       \        V\	        V 4      4       \        V\        . \        R7      4       R# )r   dtypeN)r   r   )r
   complexr   r   r	   r   int)aldps       r   test_empty_arrayr*      sM    fG$A%- GA!aA/aA/ar!56    c                     \        . RO. R	O. R
O. RO.4      p \        . RO. RO. RO. RO.4      p\        . RO. RO. RO. RO. RO.4      p\        . RO. RO. RO. RO. RO.4      p\        . RO. RO. RO. RO.4      pWV3 F  p\        V4      w  rcp\        VP                  V4      P                  VP                  4      V\        R4      ^ R7       \        VRR7      w  rp\        VP                  V4      P                  VP                  4      V\        R4      ^ R7       K  	  \        V RR7      w  rcp\        VP                  V4      P                  VP                  4      V \        R4      ^ R7       \        V RRR7      w  rp\        VP                  V4      P                  VP                  4      V \        R4      ^ R7       \        VP                  4       P                  ^ R7      w  rcp\        \        VP                  V4      P                  VP                  4       P                  4      V,
          4      \        R4      \        R4      ^ R7       R# )g(\?g     @@)atolrtolFlower	hermitianr0   r2   N)y(\ؿQ(\@{Gzq=
ףpGzffffff@q=
ףp?)r4   yQ!@(\?)\((\?HzG@q=
ףp)r5   r7   yp=
ףQp=
ףzG)r6   r8   r9   yQῸQ?)g      @
         )g      $@r      r;   )g      ?r=      	   )g      2@r;   r?   r   )g      J@a   p   k   2   )g     @X@r   Y   b      )g      \@rE   @   !      )g     Z@rF   rI   <   I   )g      I@rG   rJ   rL   M   )       @r   r      )rN   rQ   r:   )g      rQ   rJ   rR   rO   )g        r:   rR   rJ   )g      @rR   rO   rS   r:   )y(\                        rT   rT   )yHzG?y=
ףp!        rT   rT   )yGz@zG?yq=
ףpQ?yQ        rT   )yHzG@      y{GzzGy)\(?)\(yq=
ףp        )rP   rP   )	r   r   r   dotTr   conjr   r   )	r&   bcr(   exr'   r)   us	            r   test_simpler]      s   A@CAC 	DA 	 	 A 	&%$%#	% 	&A 	 ##"#	% 	&A
 	.18AC 	DA AYa&aaQSS)175>Jau%aaQSS)175>J  !u%GA!AEE!HLL%qwu~AF!5E2GA!AEE!HLL%qwu~AF !&&(**A&GA!Dqaffhjj1!34eFm a1r+   c                     \         P                  P                  R 4      p \        ^
4       EF<  pV P	                  ^^d4      pV P	                  ^4      '       d   V P                  W"34      ^ ,           MV P                  W"34      R,          pW3P                  4       P                  ,           pV\        V4      V P	                  ^R4      ,          ,          p\        VR	R7      p\        V^R7      p\        V^ R7      w  rgp\        \        WhR3,          V,          4      '       * RV R24       \        V^R7      w  rp\        \        WR3,          V,          4      '       * RV R24       EK?  	  R# )
  r       .A)kr/   r   zSpin z failedN)nprandomdefault_rngrangeintegersrW   rV   r   r   r   r   r   any)
rng_nr[   l_indu_indr\   r(   r)   r'   s
             r   test_permutationsrn   H   s   
))


%C2YLLC &)ll1ooCJJv"3::qf;Mb;P

N	SVCLLC(((!!r*!!q) aq/aCQ$''57);<aq/aCQ$''57);<! r+   r#   rk   c                 J   \         P                  P                  R 4      pRV  RV 2pVP                  W 34      P                  V4      pWDP                  ,           pV\        WR7      V! VP                  ^R4      4      ,          ,          p\        V4      w  rVp\        V^ R7      w  rpV\        J d   RMRp
\        VP                  V4      P                  VP                  4      WJVR7       \        VP                  V	4      P                  VP                  4      WJVR7       R	# )
r_   zFailed for size: 	, dtype: r"   r`   r/   g-C6?绽|=r.   err_msgN)rc   rd   re   astyperV   r   rg   r   r   r   rU   )rk   r#   ri   msgr[   r'   d1r)   r\   d2r.   s   &&         r   $test_ldl_type_size_combinations_realrx   ]   s     ))


%Cqc5'2C

A6!!%(A	CCAQ	U3<<3#78	88A1vHA11AHA1G#4DAEE"IMM!##&cBAEE"IMM!##&cBr+   c                    \         P                  P                  R 4      pRV  RV 2pRV  RV 2pVP                  W 34      RVP                  W 34      ,          ,           P                  V4      pWUP	                  4       P
                  ,           pV\        WR7      V! VP                  ^R4      4      ,          ,          p\        V4      w  rgp\        V^ R7      w  rpV\        J d   RMR	p\        VP                  V4      P                  VP	                  4       P
                  4      W[VR
7       \        V	P                  V
4      P                  V	P	                  4       P
                  4      W[VR
7       VP                  W 34      RVP                  W 34      ,          ,           P                  V4      pWUP
                  ,           pV\        WR7      V! VP                  ^R4      4      ,          ,          p\        V^ R7      w  rgp\        V^ ^ R7      w  rp\        VP                  V4      P                  VP
                  4      W[VR
7       \        V	P                  V
4      P                  V	P
                  4      W[VR
7       R# )r_   zHer failed for size: rp   zSym failed for size: r   r"   r`   r/   g-C6*?rq   rr   r1   r3   N)rc   rd   re   rt   rW   rV   r   rg   r   r   r   rU   )rk   r#   ri   msg1msg2r[   r'   rv   r)   r\   rw   r.   s   &&          r   'test_ldl_type_size_combinations_complexr|   n   s    ))


%C#A3iw7D#A3iw7D 
QF	Bszz1&11	199%@A	&&(**AQ	U3<<3#78	88A1vHA11AHA1I%45DAEE"IMM!&&(**-qTJAEE"IMM!&&(**-qTJ 
QF	Bszz1&11	199%@A	##AQ	U3<<3#78	88A1"HA11A+HA1AEE"IMM!##&dCAEE"IMM!##&dCr+   ) numpyrc   numpy.testingr   r   r   r   r   r   r	   r
   r   r   r   r   r   r   r   r   numpy.exceptionsr   scipy.linalgr   r   r    r*   r]   rn   markparametrizerx   r|    r+   r   <module>r      s     M M* * * * ,  7(1V=* 7G"45r3i(C ) 6C 9j"9:r3i(D ) ;Dr+   