+
    LV-jž  ã                   ó   €  ! R  R4      t R# )c                   ó   a a€ ] tR t^t oRtRt]R 4       t]R 4       t]R 4       t	]R 4       t
]R 4       t]R 4       t]R 4       tR	 tR
 tR tR tR t]! ]]RR7      tR tR tR tRR ltR tR tR tRV 3R llt]R 4       tRtVtV ;t # )Úspmatrixz‰This class provides a base class for all sparse matrix classes.

It cannot be instantiated.  Most of the work is provided by subclasses.
c                ó   € ^RI Hp V# )é   )Ú
bsr_matrix)Ú_bsrr   )Úselfr   s   & Úe/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/scipy/sparse/_matrix.pyÚ_bsr_containerÚspmatrix._bsr_container   ó   € å$ØÐó    c                ó   € ^RI Hp V# )r   )Ú
coo_matrix)Ú_coor   )r   r   s   & r	   Ú_coo_containerÚspmatrix._coo_container   r   r   c                ó   € ^RI Hp V# )r   )Ú
csc_matrix)Ú_cscr   )r   r   s   & r	   Ú_csc_containerÚspmatrix._csc_container   r   r   c                ó   € ^RI Hp V# )r   )Ú
csr_matrix)Ú_csrr   )r   r   s   & r	   Ú_csr_containerÚspmatrix._csr_container   r   r   c                ó   € ^RI Hp V# )r   )Ú
dia_matrix)Ú_diar   )r   r   s   & r	   Ú_dia_containerÚspmatrix._dia_container   r   r   c                ó   € ^RI Hp V# )r   )Ú
dok_matrix)Ú_dokr#   )r   r#   s   & r	   Ú_dok_containerÚspmatrix._dok_container!   r   r   c                ó   € ^RI Hp V# )r   )Ú
lil_matrix)Ú_lilr(   )r   r(   s   & r	   Ú_lil_containerÚspmatrix._lil_container&   r   r   c                ó$   € V P                  V4      # ©N)Ú_matmul_dispatch©r   Úothers   &&r	   Ú__mul__Úspmatrix.__mul__,   s   € Ø×$Ñ$ UÓ+Ð+r   c                ó$   € V P                  V4      # r-   )Ú_rmatmul_dispatchr/   s   &&r	   Ú__rmul__Úspmatrix.__rmul__/   s   € Ø×%Ñ% eÓ,Ð,r   c                ó   € ^RI Hp V! W4      # )r   )Úmatrix_power)Úlinalgr8   )r   Úpowerr8   s   && r	   Ú__pow__Úspmatrix.__pow__3   s   € Ý(á˜DÓ(Ð(r   c                ó€   € V P                  VRR7      P                  V P                  4      pVP                  V n        R# )z$Set the shape of the matrix in-placeF)ÚcopyN)ÚreshapeÚasformatÚformatÚ__dict__)r   ÚshapeÚnew_selfs   && r	   Ú	set_shapeÚspmatrix.set_shape:   s2   € ð —<‘< ¨E�<Ó2×;Ñ;¸D¿K¹KÓHˆØ ×)Ñ)ˆŽr   c                ó   € V P                   # )zGet the shape of the matrix)Ú_shape©r   s   &r	   Ú	get_shapeÚspmatrix.get_shapeA   ó   € à�{‰{Ðr   zShape of the matrix)ÚfgetÚfsetÚdocc                ó"   € V P                  4       # )z7Upcast matrix to a floating point format (if necessary))Ú	_asfptyperI   s   &r	   ÚasfptypeÚspmatrix.asfptypeH   s   € à�~‰~ÓÐr   c                ó"   € V P                  4       # )z3Maximum number of elements to display when printed.)Ú_getmaxprintrI   s   &r	   ÚgetmaxprintÚspmatrix.getmaxprintL   s   € à× Ñ Ó"Ð"r   c                ó   € V P                   # )zMatrix storage format)rA   rI   s   &r	   Ú	getformatÚspmatrix.getformatP   rL   r   c                ó&   € V P                  VR7      # )zÃNumber of stored values, including explicit zeros.

Parameters
----------
axis : None, 0, or 1
    Select between the number of values across the whole array, in
    each column, or in each row.
)Úaxis)Ú_getnnz)r   r\   s   &&r	   ÚgetnnzÚspmatrix.getnnzT   s   € ð �|‰| ˆ|Ó&Ð&r   c                ó>   € V P                  4       P                  4       # )z„Return the Hermitian transpose of this matrix.

See Also
--------
numpy.matrix.getH : NumPy's implementation of `getH` for matrices
)Ú	conjugateÚ	transposerI   s   &r	   ÚgetHÚspmatrix.getH_   s   € ð �~‰~Ó×)Ñ)Ó+Ð+r   c                ó$   € V P                  V4      # )zWReturns a copy of column j of the matrix, as an (m x 1) sparse
matrix (column vector).
)Ú_getcol)r   Újs   &&r	   ÚgetcolÚspmatrix.getcolh   ó   € ð �|‰|˜A‹Ðr   c                ó$   € V P                  V4      # )zPReturns a copy of row i of the matrix, as a (1 x n) sparse
matrix (row vector).
)Ú_getrow)r   Úis   &&r	   ÚgetrowÚspmatrix.getrown   rj   r   c                ó"   <€ \         SV `  W4      # )aý  
Return a dense representation of this sparse matrix.

Parameters
----------
order : {'C', 'F'}, optional
    Whether to store multi-dimensional data in C (row-major)
    or Fortran (column-major) order in memory. The default
    is 'None', which provides no ordering guarantees.
    Cannot be specified in conjunction with the `out`
    argument.

out : ndarray, 2-D, optional
    If specified, uses this array (or `numpy.matrix`) as the
    output buffer instead of allocating a new array to
    return. The provided array must have the same shape and
    dtype as the sparse matrix on which you are calling the
    method.

Returns
-------
arr : numpy.matrix, 2-D
    A NumPy matrix object with the same shape and containing
    the same data represented by the sparse matrix, with the
    requested memory order. If `out` was passed and was an
    array (rather than a `numpy.matrix`), it will be filled
    with the appropriate values and returned wrapped in a
    `numpy.matrix` object that shares the same memory.
)ÚsuperÚtodense)r   ÚorderÚoutÚ	__class__s   &&&€r	   rr   Úspmatrix.todenset   s   ø€ ô< ‰w‰˜uÓ*Ð*r   c               ó   € ^ RI Hp V! W4      # )aU  
Return a parametrized wrapper around the `~scipy.sparse.spmatrix` type.

.. versionadded:: 1.16.0

Returns
-------
alias : types.GenericAlias
    A parametrized `~scipy.sparse.spmatrix` type.

Examples
--------
>>> import numpy as np
>>> from scipy.sparse import coo_matrix

>>> coo_matrix[np.int8]
scipy.sparse._coo.coo_matrix[numpy.int8]
)ÚGenericAlias)Útypesrx   )ÚclsÚargrx   s   "" r	   Ú__class_getitem__Úspmatrix.__class_getitem__”   s   € õ( 	'Ù˜CÓ%Ð%r   )rB   )é   r-   )NN)!Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú	_allow_ndÚpropertyr
   r   r   r   r    r%   r*   r1   r5   r;   rE   rJ   rC   rR   rV   rY   r^   rc   rh   rn   rr   Úclassmethodr|   Ú__static_attributes__Ú__classdictcell__Ú__classcell__)ru   Ú__classdict__s   @@r	   r   r      s	  ù‡ € ñð €Iàñó ðð ñó ðð ñó ðð ñó ðð ñó ðð ñó ðð ñó ðò
,ò-ò)ò*òñ ˜)¨)Ø.ô0€Eò ò#òô	'ò,òò÷+ð@ ñ&ó ÷&ð &r   r   N)r   © r   r	   Ú<module>rŒ      s   ð÷h&ó h&r   