+
    /i                          ! 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 # )spmatrixzThis 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   & R/var/www/html/photoedit/myenv/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;;DKK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      # )zNumber 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       # )zReturn 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             
,-)* )).0E #	',+@ & & &r   r   N)r    r   r	   <module>r      s   h& h&r   