+
    0i                     2   ^ RI t ^ RIt^ RIt^ RIt^ RIHtHt ^ RIH	t	H
t
HtHtHt ^ RIt]P                  R8H  ;'       d    ]P                  ! 4       R8H  tR tR t]P&                  P)                  R]
! ^^ .^ ^ .^ ^..4      ^ R3]
! ^^ .^ ^ .^ ^..4      ^R3]
! ^^ .^ ^ .^ ^..4      R	R3]
! . RO. RO. RO.4      ^ R3.4      R
 4       t]P&                  P)                  RR4      R 4       t]P&                  P/                  ]'       * RR7      ]P&                  P1                  ^4      ]P&                  P)                  R] P2                  ] P4                  ] P6                  ] P8                  ] P:                  ] P<                  R R 34      R 4       4       4       tR# )    N)assert_array_almost_equalassert_)
csr_matrix
csc_matrix
lil_matrix	csr_array	csc_arraylinuxx86_64c                  ~   ^
p \         P                  P                  ^ 4       \         P                  P                  W 34      p^ WR8  &   \        V4      p\	        V 4       FZ  pWV^,           1R3,          pVP                  V4      p\        WEP                  4       4       \        \        V4      \        J 4       K\  	  R# 
   gffffff?NNNN)nprandomseedr   rangegetrowr   toarrayr   typer   )NXXcsciarr_rowcsc_rows         Y/var/www/html/photoedit/myenv/lib/python3.14/site-packages/scipy/sparse/tests/test_csc.pytest_csc_getrowr      s    
AIINN1
		! AA#gJa=D1Xa!eGQJ-++a.!'??+<=W+,     c                  ~   ^
p \         P                  P                  ^ 4       \         P                  P                  W 34      p^ WR8  &   \        V4      p\	        V 4       FZ  pVRW3^,           13,          pVP                  V4      p\        WEP                  4       4       \        \        V4      \        J 4       K\  	  R# r   )
r   r   r   r   r   getcolr   r   r   r   )r   r   r   r   arr_colcsc_cols         r   test_csc_getcolr$      s    
AIINN1
		! AA#gJa=D1XAqQwJ-++a.!'??+<=W+, r   z"matrix_input, axis, expected_shapebothc                 r   V P                  4       P                  ^ ,          ^,
          pTpV^,
          pV^ 8X  dJ   WV1R3,          P                  4       P                  pWV1R3,          P                  4       P                  pMV^8X  dJ   V RW413,          P                  4       P                  pV RW513,          P                  4       P                  pMQVR8X  dK   WV1W413,          P                  4       P                  pWV1W513,          P                  4       P                  pXV8X  g   Q hVX8X  g   Q hR# )r   r   r%   N)r   shape)matrix_inputaxisexpected_shapeslice_1slice_2slice_3actual_shape_1actual_shape_2s   &&&     r   test_csc_empty_slicesr0   -   s%   & ""$**1-1GGkGqy%goq&89AACII%goq&89AACII	%a&89AACII%a&89AACII	%gow&FGOOQWW%gow&FGOOQWW^+++^+++r   axc                    Rp\        V4      p^*VR&   RVR&   \        V4      pVP                  V R7      pV f    W1^ ,          ,          pW1^ ,          ,          pMR\        P                  ! V4      VP
                  8X  g   Q h\        P                  ! V4      \        P                  ! V4      rTW$V3,          VR,          8X  g   Q hR# )順 gSt$?)r)   N)r3   r3   )r4   )r5   )r   r   argmaxr   count_nonzeronnzmax)r1   dimAidxiijjs   &     r   test_argmax_overflowr?   R   s     C3AAfIAfI1A
(((
C	z
 q6\F]
 $---biinBV9&	!!!r   z(avoid variations due to OS, see gh-23826)reasonopc                 $    V P                  V4      # N)minimumxys   &&r   <lambda>rH   r   s    QYYq\r   c                 $    V P                  V4      # rC   )maximumrE   s   &&r   rH   rH   r   s    		RSr   c                    \         P                  ! \         P                  4      P                  ^,           p\         P                  ! V^,
          .4      p\         P                  ! ^
.4      pW#3pW23p\        \         P                  ! ^
.4      V3V^3R7      pVP                  4       pV ! Wv4       \        \         P                  ! ^
.4      V3^V3R7      pVP                  4       p	V ! W4       R# )   )r'   N)r   iinfouint32r9   arrayr	   copyr   )
rA   num_minor_axisminor_axis_indexmajor_axis_indexrow_colscol_rowsr   X_2ZZ_2s
   &         r   #test_compressed_rc_conversion_mixuprY   m   s     XXbii(,,q0Nxx!!3 45xx~ 3H 3H288RD>8,^R4HIA
&&(CsJ288RD>8,R4HIA
&&(CsJr   )r      )   r   )r   r   )r   rL   r   r   r   r   )r   r   r   r   r   r   )r   r   rZ   r[   r   rL   )r      )r4   r   rL   N) operatorsysplatformnumpyr   numpy.testingr   r   scipy.sparser   r   r   r   r	   pytestmachineLINUX_INTELr   r$   markparametrizer0   r?   skipiftimeoutneltgtaddsubmulrY    r   r   <module>rr      s    
   < Q Q  ||w&LLX-=-=-?8-K-- =1a&AA   1a&AA   1a&AA  f $""$ % ",#",( 34" 5"4 O,VWQX[[(++ (hllHLL 9;T V W	W  Xr   