+
    LV-jôQ  ã                   óÂ   € R t ^ RIt^ RIt^RIHtHtHt ^RIH	t	H
t
 . t ! R R]4      t] F"  t]P                  tR t]! ]]]! ]4      4       K$  	  R t ! R R	4      tR# )
zÆBase class for sparse matrice with a .data attribute

subclasses must provide a _with_data() method that
creates a new matrix with the same sparsity pattern
as self but with a different data array

N)Ú_spbaseÚsparrayÚ _ufuncs_with_fixed_point_at_zero)ÚisscalarlikeÚvalidateaxisc                   ób  a € ] tR t^t o RR/R lt]R 4       t]P                  R 4       tR tR t	RR lt
R	 tR
 tR tR tR tRR lt]P                   P$                  ]n        RR lt]P&                  P$                  ]n        R t]P(                  P$                  ]n        RR ltR tRtV tR# )Ú_data_matrixÚmaxprintNc               ó6   € \         P                  ! WVR 7       R# ))r	   N)r   Ú__init__)ÚselfÚarg1r	   s   &&$Úc/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/scipy/sparse/_data.pyr   Ú_data_matrix.__init__   s   € Ü×Ò˜¨h×7ó    c                ó.   € V P                   P                  # ©N)ÚdataÚdtype©r   s   &r   r   Ú_data_matrix.dtype   s   € à�y‰y�‰Ðr   c                óF   € V P                   P                  V4      V n         R # r   )r   Úview)r   Únewtypes   &&r   r   r      s   € à—I‘I—N‘N 7Ó+ˆŽ	r   c                ó^   € \        V R 4      '       d   V P                  4        V P                  # )Úsum_duplicates)Úhasattrr   r   r   s   &r   Ú_deduped_dataÚ_data_matrix._deduped_data    s&   € Ü�4Ð)×*Ò*Ø×ÑÔ!Ø�y‰yÐr   c                óR   € V P                  \        V P                  4       4      4      # r   )Ú
_with_dataÚabsr   r   s   &r   Ú__abs__Ú_data_matrix.__abs__%   s   € Ø�‰œs 4×#5Ñ#5Ó#7Ó8Ó9Ð9r   c                ól   € V P                  \        P                  ! V P                  4       VR 7      4      # ))Údecimals)r    ÚnpÚaroundr   )r   Úndigitss   &&r   Ú	__round__Ú_data_matrix.__round__(   s%   € Ø�‰œrŸyšy¨×);Ñ);Ó)=ÈÔPÓQÐQr   c                óL   € V P                  V P                  P                  4      # r   )r    r   Úrealr   s   &r   Ú_realÚ_data_matrix._real+   ó   € Ø�‰˜tŸy™yŸ~™~Ó.Ð.r   c                óL   € V P                  V P                  P                  4      # r   )r    r   Úimagr   s   &r   Ú_imagÚ_data_matrix._imag.   r/   r   c                ó†   € V P                   P                  R 8X  d   \        R4      hV P                  V P                  ) 4      # )Úbz0negating a boolean sparse array is not supported)r   ÚkindÚNotImplementedErrorr    r   r   s   &r   Ú__neg__Ú_data_matrix.__neg__1   s9   € Ø�:‰:�?‰?˜cÔ!Ü%ð '2ó 3ð 3à�‰ §	¡	˜zÓ*Ð*r   c                óf   € \        V4      '       d   V ;P                  V,          un        V # \        # r   ©r   r   ÚNotImplemented©r   Úothers   &&r   Ú__imul__Ú_data_matrix.__imul__7   s&   € Ü˜×ÒØ�IŠI˜Õ�IØˆKÜÐr   c                óx   € \        V4      '       d%   R V,          pV ;P                  V,          un        V # \        # )g      ð?r;   )r   r>   Úrecips   && r   Ú__itruediv__Ú_data_matrix.__itruediv__=   s/   € Ü˜×ÒØ˜%•KˆEØ�IŠI˜Õ�IØˆKä!Ð!r   c                ó"  € \         P                  ! V4      pV P                  V8w  dP   V P                  V P                  P	                  WR R7      R R7      pVP                  VP                  4       RR7      # V'       d   V P                  4       # V # )T)ÚcastingÚcopy©rG   F)r&   r   r    r   Úastyper   rG   )r   r   rF   rG   Úmatrixs   &&&& r   rI   Ú_data_matrix.astypeE   s}   € Ü—’˜“ˆØ�:‰:˜ÔØ—_‘_Ø—	‘	× Ñ  ¸dÐ ÓCØð %ó ˆFð ×$Ñ$ V×%9Ñ%9Ó%;À%Ð$ÓHÐHßØ—9‘9“;ÐàˆKr   c                óö   € \         P                  ! V P                  \         P                  4      '       d,   V P	                  V P
                  P                  4       VR 7      # V'       d   V P                  4       # V # )rH   )r&   Ú
issubdtyper   Úcomplexfloatingr    r   Ú	conjugaterG   )r   rG   s   &&r   rO   Ú_data_matrix.conjugateT   sQ   € Ü�=Š=˜Ÿ™¤R×%7Ñ%7×8Ò8Ø—?‘? 4§9¡9×#6Ñ#6Ó#8¸t�?ÓDÐDßØ—9‘9“;ÐàˆKr   c                óX   € V P                  V P                  P                  4       R R7      # ©TrH   )r    r   rG   r   s   &r   rG   Ú_data_matrix.copy^   s    € Ø�‰˜tŸy™yŸ~™~Ó/°dˆÓ;Ð;r   c                óÜ   € \        V4      '       g   \        R4      hV'       g   \        R4      hV P                  4       pVe   VP                  VRR7      pV P	                  W1,          4      # )a®  
This function performs element-wise power.

Parameters
----------
n : scalar
    n is a non-zero scalar (nonzero avoids dense ones creation)
    If zero power is desired, special case it to use `np.ones`

dtype : If dtype is not specified, the current dtype will be preserved.

Raises
------
NotImplementedError : if n is a zero scalar
    If zero power is desired, special case it to use
    ``np.ones(A.shape, dtype=A.dtype)``
zinput is not scalarzpzero power is not supported as it would densify the matrix.
Use `np.ones(A.shape, dtype=A.dtype)` for this case.FrH   )r   r7   r   rI   r    )r   Únr   r   s   &&& r   ÚpowerÚ_data_matrix.powerc   sh   € ô$ ˜A�ŠÜ%Ð&;Ó<Ð<ßÜ%ðGóð ð
 ×!Ñ!Ó#ˆØÒØ—;‘;˜u¨5�;Ó1ˆDØ�‰˜t�yÓ)Ð)r   c                óF   € V P                  V P                  V,          4      # r   )r    r   r=   s   &&r   Ú_mul_scalarÚ_data_matrix._mul_scalar†   s   € Ø�‰˜tŸy™y¨5Õ0Ó1Ð1r   )r   )é    )ÚunsafeT)Tr   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   Úpropertyr   Úsetterr   r"   r)   r-   r2   r8   r?   rC   rI   r   Ú__doc__rO   rG   rV   rY   Ú__static_attributes__Ú__classdictcell__©Ú__classdict__s   @r   r   r      sÁ   ø‡ € ð8¨ô 8ð ñó ðð ‡\�\ñ,ó ð,òò
:ôRò/ò/ò+òò"ôð —^‘^×+Ñ+€F„Nôð  ×)Ñ)×1Ñ1€IÔò<ð —<‘<×'Ñ'€D„Lô*÷F2ð 2r   r   c                 óV   a € V 3R  lpR\          R\          R2Vn        \         Vn        V# )c                 óV   <€ S! V P                  4       4      pV P                  VR R7      # rR   )r   r    )r   ÚresultÚops   & €r   ÚmethodÚ_create_method.<locals>.method�   s)   ø€ Ù˜×*Ñ*Ó,Ó-ˆFØ—?‘? 6°�?Ó5Ð5r   zElement-wise z.

See `numpy.z` for more information.)Únamerc   r]   )rk   rl   s   f r   Ú_create_methodro   Ž   s4   ø€ õ	6ð *¬$¨ð 0(Ü(, vÐ-DðFˆŒäˆŒàˆr   c                 ód   € \        V 4       F  w  r#W#8w  g   K  Vu # 	  X^,          pW!8  d   V# R# )é   éÿÿÿÿ)Ú	enumerate)ÚindrU   ÚkÚas   &&  r   Ú_find_missing_indexrw   œ   s6   € Ü˜#–‰ˆØŽ6ØŠHñ ð ˆ…F€AØ„uØˆàˆ	r   c                   ó¨   a € ] tR t^¨t o RtR tR tR tR tRRR/R	 llt	RRR/R
 llt
RRR/R lltRRR/R lltRRR/R lltRRR/R lltRtV tR# )Ú_minmax_mixinzdMixin for min and max methods.

These are not implemented for dia_matrix, hence the separate class.
c           	     óª  € V P                   V,          pV P                   ^V,
          ,          pV P                  VR7      pV^ 8X  d   V P                  4       MV P                  4       pVP	                  4        VP                  V4      w  r‰V'       g<   \        P                  ! VP                  4      V,          V8  p
V! Wš,          ^ 4      Wš&   V	^ 8g  p\        P                  ! W¸4      P                  VRR7      p\        P                  ! W¹4      p	\        V \        4      '       d%   V3pV3pV P                  Wœ3WÐP                  R7      # V^ 8X  dD   V P                  V	\        P                  ! \!        V	4      VR7      V33V P                  ^V3R7      # V P                  W˜\        P                  ! \!        V	4      VR7      33V P                  V^3R7      # )rq   )ÚmaxvalFrH   )Úshaper   ©r   )r   r|   )r|   Ú_get_index_dtypeÚtocscÚtocsrr   Ú_minor_reducer&   ÚdiffÚindptrÚcompressrI   Ú
isinstancer   Ú_coo_containerr   ÚzerosÚlen)r   ÚaxisÚ
min_or_maxÚexplicitÚNÚMÚ	idx_dtypeÚmatÚmajor_indexÚvalueÚnot_fullÚmaskÚcoordsr|   s   &&&&          r   Ú_min_or_max_axisÚ_minmax_mixin._min_or_max_axis®   s‘  € à�J‰J�tÕˆØ�J‰J�q˜4•xÕ ˆØ×)Ñ)°Ð)Ó3ˆ	à" aœiˆd�j‰jŒl¨T¯Z©Z«\ˆØ×ÑÔà ×.Ñ.¨zÓ:ÑˆßÜ—w’w˜sŸz™zÓ*¨;Õ7¸!Ñ;ˆHÙ(¨­¸!Ó<ˆE‰Oà˜‰zˆÜ—k’k $Ó4×;Ñ;¸IÈEÐ;ÓRˆÜ—’˜DÓ(ˆä�dœG×$Ò$Ø!�^ˆFØ�DˆEØ×&Ñ&¨ ¸eÏ:É:Ð&ÓVÐVà�1Œ9Ø×&Ñ&ØœŸš¤# e£*°IÔ>ÀÐLÐMØ—j‘j¨¨A¨ð 'ó ð ð
 ×&Ñ&Ø¤b§h¢h¬s°5«zÀÔ&KÐLÐMØ—j‘j¨¨A¨ð 'ó ð r   c                óÖ  a € Ve   \        R4      h\        VS P                  R7      pVf¹   ^ S P                  9   d   \        R4      hS P                  P                  ^ 4      pS P                  ^ 8X  d   V# VP                  S P                  4       P                  4       4      pS P                  \        P                  ! S P                  4      8w  d   V'       g	   V! WV4      pV# \        ;QJ d    V 3R lV 4       F  '       g   K   RM	  RM! V 3R lV 4       4      '       d   \        R4      hS P                  ^8X  d   S P                  V^ ,          W44      # S P                  WV4      # )Nz3Sparse min/max does not support an 'out' parameter.©Úndimz&zero-size array to reduction operationc              3   óP   <"  € T F  pSP                   V,          ^ 8H  x € K  	  R# 5i©r[   N©r|   )Ú.0Údr   s   & €r   Ú	<genexpr>Ú,_minmax_mixin._min_or_max.<locals>.<genexpr>â   s   øé € Ð0©4 aˆt�z‰z˜!�} Ö!«4ùó   ƒ#&TF)Ú
ValueErrorr   r™   r|   r   ÚtypeÚnnzÚreducer   ÚravelÚmathÚprodÚanyr•   Ú_min_or_max_axis_nd)r   r‰   ÚoutrŠ   r‹   ÚzeroÚms   f&&&&  r   Ú_min_or_maxÚ_minmax_mixin._min_or_maxÐ   s  ø€ ØŠ?ÜÐRÓSÐSä˜D t§y¡yÔ1ˆàŠ<Ø�D—J‘JŒÜ Ð!IÓJÐJà—:‘:—?‘? 1Ó%ˆDØ�x‰x˜1Œ}Ø�Ø×!Ñ! $×"4Ñ"4Ó"6×"<Ñ"<Ó">Ó?ˆAØ�x‰xœ4Ÿ9š9 T§Z¡ZÓ0Ô0¿Ù˜tÓ'�ØˆHç‹3Ô0©4Ó0�3�3Š3Ô0©4Ó0×0Ò0ÜÐEÓFÐFà�9‰9˜Œ>à×(Ñ(¨¨a­°*ÓGÐGØ×'Ñ'¨¸(ÓCÐCr   c                óˆ  € V P                   P                  ^ 4      pV^ 8X  d   V P                  4       MV P                  4       pVP	                  4        VP                  VP                  4      w  rx\        P                  ! V\        R7      p	\        P                  ! \        P                  ! VP                  4      4      w  p
V
 Fº  pVP                  W»^,            w  rÍVP                  WÍ pVP                  WÍ pV! V4      pVV,          pV'       d   WÜ,
          ^ 8”  d   VV,          W›&   Ki  Kk  V! VV4      '       g   WÜ,
          V8X  d   VV,          W›&   K”  \        Wø4      pVV8X  d   \!        VV4      W›&   K¶  VW›&   K¼  	  \#        V \$        4      '       d   V	# V^8X  d   V	P'                  R^4      p	V P)                  V	4      # )r[   r}   rr   )r   r£   r   r€   r   Ú_swapr|   r&   r‡   ÚintÚnonzeror‚   rƒ   r   Úindicesrw   Úminr…   r   ÚreshapeÚ_ascontainer)r   r‰   Ú	argminmaxÚcomparer‹   r¬   r�   Úret_sizeÚ	line_sizeÚretÚnz_linesÚiÚpÚqr   r´   Úextreme_indexÚextreme_valueÚzero_inds   &&&&&              r   Ú_argminmax_axisÚ_minmax_mixin._argminmax_axisê   sk  € Ø�z‰z�‰˜qÓ!ˆà" aœiˆd�j‰jŒl¨T¯Z©Z«\ˆØ×ÑÔà!Ÿi™i¨¯	©	Ó2ÑˆÜ�hŠh�x¤sÔ+ˆä—J’JœrŸwšw s§z¡zÓ2Ó3‰	ˆÛˆAØ—:‘:˜a A¥Ð&‰DˆAØ—8‘8˜A�=ˆDØ—k‘k !Ð&ˆGÙ% d›OˆMØ  Õ/ˆMßØ•5˜1”9Ø$ ]Õ3�C“Fñ ñ ˜=¨$×/Ò/°1µ5¸IÔ3EØ$ ]Õ3�C“Fä2°7ÓF�HØ$¨Ô,Ü!$ ]°HÓ!=˜›à!)˜›ñ# ô& �dœG×$Ò$ØˆJà�1Œ9Ø—+‘+˜b !Ó$ˆCà× Ñ  Ó%Ð%r   c                óf  a € Ve)   V\         P                  8X  d   RMRp\        RV R24      h\        VS P                  R7      pVe¦   \
        ;QJ d    V 3R lV 4       F  '       g   K   RM	  RM! V 3R lV 4       4      '       d)   V\         P                  8X  d   RMRp\        R	V R
24      hS P                  ^8X  d   S P                  V^ ,          W4V4      # S P                  WWE4      # ^ S P                  9   d)   V\         P                  8X  d   RMRp\        R	V R24      hS P                  ^ 8X  d3   V'       d)   V\         P                  8X  d   RMRp\        R	V R24      h^ # S P                  P                  ^ 4      pS P                  4       pVP                  4        V! VP                  4      p	V'       d   V	# VP                  V	,          p
VP                  ^8”  d   VP                  R4      p\         P"                  ! S P                  4      pV! W§4      '       g   VP                  V8X  d…   VP                  ^8X  d   \%        VP&                  V	,          4      # VP                  R,          p\%        VP(                  V	,          4      V,          \%        VP&                  V	,          4      ,           # VP                  ^8X  d   VP*                  R,          pM7VP                  R,          pVP(                  V,          VP&                  ,           p\-        WÛ4      pW§8X  d   \/        Wé4      # V# )NÚargminÚargmaxzSparse z% does not support an 'out' parameter.r˜   c              3   óP   <"  € T F  pSP                   V,          ^ 8H  x € K  	  R# 5ir›   rœ   )r�   r¾   r   s   & €r   rŸ   Ú+_minmax_mixin._argminmax.<locals>.<genexpr>  s   øé € Ð4©t¨!�4—:‘:˜a•= AÖ%«tùr¡   TFzCannot apply z along a zero-sized dimension.z to an empty matrix.z# to zero matrix when explicit=True.rr   )r&   rÇ   r¢   r   r™   r©   rÄ   Ú_argminmax_axis_ndr|   r¤   r   r£   Útocoor   r   r¶   r§   r¨   r²   ÚcolÚrowr”   rw   rµ   )r   r‰   r«   r¸   r¹   r‹   Úminmaxr¬   r�   rÁ   rÂ   ÚmaxnnzÚnum_colÚlinear_indicesÚfirst_implicit_zero_indexs   f&&&&&         r   Ú
_argminmaxÚ_minmax_mixin._argminmax  s  ø€ ØŠ?Ø!*¬b¯i©iÔ!7‘X¸XˆFÜ˜w v hÐ.SÐTÓUÐUä˜D t§y¡yÔ1ˆàÒß‹sÔ4©tÓ4�s�sŠsÔ4©tÓ4×4Ò4Ø%.´"·)±)Ô%;™À�Ü  =°°Ð8VÐ!WÓXÐXà�y‰y˜AŒ~à×+Ñ+¨D°­G°YÈÓRÐRØ×*Ñ*¨4¸GÓNÐNà�—
‘
Œ?Ø!*¬b¯i©iÔ!7‘X¸XˆFÜ˜}¨V¨HÐ4HÐIÓJÐJà�8‰8�qŒ=ßØ%.´"·)±)Ô%;™À�Ü  =°°ð 97ð "7ó 8ð 8áà�z‰z�‰˜qÓ!ˆØ�j‰j‹lˆà×ÑÔÙ! #§(¡(Ó+ˆßØ Ð ØŸ™ Õ/ˆà�8‰8�aŒ<Ø—+‘+˜b“/ˆCô —’˜4Ÿ:™:Ó&ˆÙ�=×'Ò'¨3¯7©7°fÔ+<à�x‰x˜1Œ}Ü˜3Ÿ7™7 =Õ1Ó2Ð2à—i‘i •mˆGÜ�s—w‘w˜}Õ-Ó.°Õ8¼3¸s¿w¹wÀ}Õ?UÓ;VÕVÐVð
 �8‰8�qŒ=Ø ŸZ™Z¨�^‰Nà—i‘i •mˆGØ ŸW™W wÕ.°·±Õ8ˆNÜ$7¸Ó$OÐ!ØÔ ÜÐ0Ó@Ð@Ø(Ð(r   Nr‹   Fc               óD   € V P                  W\        P                  V4      # )aÎ  Return the maximum of the array/matrix or maximum along an axis.

By default, all elements are taken into account, not just the non-zero ones.
But with `explicit` set, only the stored elements are considered.

Parameters
----------
axis : {-2, -1, 0, 1, None} optional
    Axis along which the sum is computed. The default is to
    compute the maximum over all elements, returning
    a scalar (i.e., `axis` = `None`).

out : None, optional
    This argument is in the signature *solely* for NumPy
    compatibility reasons. Do not pass in anything except
    for the default value, as this argument is not used.

explicit : {False, True} optional (default: False)
    When set to True, only the stored elements will be considered.
    If a row/column is empty, the sparse.coo_array returned
    has no stored element (i.e. an implicit zero) for that row/column.

    .. versionadded:: 1.15.0

Returns
-------
amax : coo_array or scalar
    Maximum of `a`. If `axis` is None, the result is a scalar value.
    If `axis` is given, the result is a sparse.coo_array of dimension
    ``a.ndim - 1``.

See Also
--------
min : The minimum value of a sparse array/matrix along a given axis.
numpy.max : NumPy's implementation of 'max'

)r®   r&   Úmaximum©r   r‰   r«   r‹   s   &&&$r   ÚmaxÚ_minmax_mixin.maxO  ó   € ðL ×Ñ ¬2¯:©:°xÓ@Ð@r   c               óD   € V P                  W\        P                  V4      # )aÏ  Return the minimum of the array/matrix or maximum along an axis.

By default, all elements are taken into account, not just the non-zero ones.
But with `explicit` set, only the stored elements are considered.

Parameters
----------
axis : {-2, -1, 0, 1, None} optional
    Axis along which the sum is computed. The default is to
    compute the minimum over all elements, returning
    a scalar (i.e., `axis` = `None`).

out : None, optional
    This argument is in the signature *solely* for NumPy
    compatibility reasons. Do not pass in anything except for
    the default value, as this argument is not used.

explicit : {False, True} optional (default: False)
    When set to True, only the stored elements will be considered.
    If a row/column is empty, the sparse.coo_array returned
    has no stored element (i.e. an implicit zero) for that row/column.

    .. versionadded:: 1.15.0

Returns
-------
amin : coo_matrix or scalar
    Minimum of `a`. If `axis` is None, the result is a scalar value.
    If `axis` is given, the result is a sparse.coo_array of dimension
    ``a.ndim - 1``.

See Also
--------
max : The maximum value of a sparse array/matrix along a given axis.
numpy.min : NumPy's implementation of 'min'

)r®   r&   ÚminimumrØ   s   &&&$r   rµ   Ú_minmax_mixin.minw  rÛ   r   c               óD   € V P                  W\        P                  V4      # )aŠ  Return the maximum, ignoring any Nans, along an axis.

Return the maximum, ignoring any Nans, of the array/matrix along an axis.
By default this takes all elements into account, but with `explicit` set,
only stored elements are considered.

.. versionadded:: 1.11.0

Parameters
----------
axis : {-2, -1, 0, 1, None} optional
    Axis along which the maximum is computed. The default is to
    compute the maximum over all elements, returning
    a scalar (i.e., `axis` = `None`).

out : None, optional
    This argument is in the signature *solely* for NumPy
    compatibility reasons. Do not pass in anything except
    for the default value, as this argument is not used.

explicit : {False, True} optional (default: False)
    When set to True, only the stored elements will be considered.
    If a row/column is empty, the sparse.coo_array returned
    has no stored element (i.e. an implicit zero) for that row/column.

    .. versionadded:: 1.15.0

Returns
-------
amax : coo_array or scalar
    Maximum of `a`. If `axis` is None, the result is a scalar value.
    If `axis` is given, the result is a sparse.coo_array of dimension
    ``a.ndim - 1``.

See Also
--------
nanmin : The minimum value of a sparse array/matrix along a given axis,
         ignoring NaNs.
max : The maximum value of a sparse array/matrix along a given axis,
      propagating NaNs.
numpy.nanmax : NumPy's implementation of 'nanmax'.

)r®   r&   ÚfmaxrØ   s   &&&$r   ÚnanmaxÚ_minmax_mixin.nanmaxŸ  ó   € ðX ×Ñ ¬2¯7©7°HÓ=Ð=r   c               óD   € V P                  W\        P                  V4      # )aŠ  Return the minimum, ignoring any Nans, along an axis.

Return the minimum, ignoring any Nans, of the array/matrix along an axis.
By default this takes all elements into account, but with `explicit` set,
only stored elements are considered.

.. versionadded:: 1.11.0

Parameters
----------
axis : {-2, -1, 0, 1, None} optional
    Axis along which the minimum is computed. The default is to
    compute the minimum over all elements, returning
    a scalar (i.e., `axis` = `None`).

out : None, optional
    This argument is in the signature *solely* for NumPy
    compatibility reasons. Do not pass in anything except for
    the default value, as this argument is not used.

explicit : {False, True} optional (default: False)
    When set to True, only the stored elements will be considered.
    If a row/column is empty, the sparse.coo_array returned
    has no stored element (i.e. an implicit zero) for that row/column.

    .. versionadded:: 1.15.0

Returns
-------
amin : coo_array or scalar
    Minimum of `a`. If `axis` is None, the result is a scalar value.
    If `axis` is given, the result is a sparse.coo_array of dimension
    ``a.ndim - 1``.

See Also
--------
nanmax : The maximum value of a sparse array/matrix along a given axis,
         ignoring NaNs.
min : The minimum value of a sparse array/matrix along a given axis,
      propagating NaNs.
numpy.nanmin : NumPy's implementation of 'nanmin'.

)r®   r&   ÚfminrØ   s   &&&$r   ÚnanminÚ_minmax_mixin.nanminÍ  rã   r   c               ób   € V P                  W\        P                  \        P                  V4      # )a%  Return indices of maximum elements along an axis.

By default, implicit zero elements are taken into account. If there are
several minimum values, the index of the first occurrence is returned.
If `explicit` is set, only explicitly stored elements will be considered.

Parameters
----------
axis : {-2, -1, 0, 1, None}, optional
    Axis along which the argmax is computed. If None (default), index
    of the maximum element in the flatten data is returned.

out : None, optional
    This argument is in the signature *solely* for NumPy
    compatibility reasons. Do not pass in anything except for
    the default value, as this argument is not used.

explicit : {False, True} optional (default: False)
    When set to True, only explicitly stored elements will be considered.
    If axis is not None and an axis has no stored elements, argmax
    is undefined, so the index ``0`` is returned for that row/column.

    .. versionadded:: 1.15.0

Returns
-------
ind : numpy.matrix or int
    Indices of maximum elements. If matrix, its size along `axis` is 1.
)rÔ   r&   rÈ   ÚgreaterrØ   s   &&&$r   rÈ   Ú_minmax_mixin.argmaxû  s!   € ð< �‰˜t¬"¯)©)´R·Z±ZÀÓJÐJr   c               ób   € V P                  W\        P                  \        P                  V4      # )a&  Return indices of minimum elements along an axis.

By default, implicit zero elements are taken into account. If there are
several minimum values, the index of the first occurrence is returned.
If `explicit` is set, only explicitly stored elements will be considered.

Parameters
----------
axis : {-2, -1, 0, 1, None}, optional
    Axis along which the argmin is computed. If None (default), index
    of the minimum element in the flatten data is returned.

out : None, optional
    This argument is in the signature *solely* for NumPy
    compatibility reasons. Do not pass in anything except for
    the default value, as this argument is not used.

explicit : {False, True} optional (default: False)
    When set to True, only explicitly stored elements will be considered.
    If axis is not None and an axis has no stored elements, argmin
    is undefined, so the index ``0`` is returned for that row/column.

    .. versionadded:: 1.15.0

Returns
-------
 ind : numpy.matrix or int
    Indices of minimum elements. If matrix, its size along `axis` is 1.
)rÔ   r&   rÇ   ÚlessrØ   s   &&&$r   rÇ   Ú_minmax_mixin.argmin  s!   € ð< �‰˜t¬"¯)©)´R·W±W¸hÓGÐGr   © )NN)r]   r^   r_   r`   rc   r•   r®   rÄ   rÔ   rÙ   rµ   rá   ræ   rÈ   rÇ   rd   re   rf   s   @r   ry   ry   ¨   s}   ø‡ € ñò
 òDDò4#&òJ>)ñ@&A°5õ &AñP&A°5õ &AñP,>°eõ ,>ñ\,>°eõ ,>ñ\K°eõ Kñ@H°e÷ Hó Hr   ry   )rc   r§   Únumpyr&   Ú_baser   r   r   Ú_sputilsr   r   Ú__all__r   Únpfuncr]   rn   ro   Úsetattrrw   ry   rî   r   r   Ú<module>rõ      so   ðñó Û ç EÑ Eß 0à
€ô
s2�7ô s2ón /€FØ�?‰?€Dò	ñ ˆL˜$¡¨vÓ 6Ö7ñ /ò"	÷QHó QHr   