cupyx.scipy.sparse.linalg.aslinearoperator#
- cupyx.scipy.sparse.linalg.aslinearoperator(A)[source]#
Return A as a LinearOperator.
- Parameters
A (array-like) –
The input array to be converted to a LinearOperator object. It may be any of the following types:
sparse matrix (e.g.
csr_matrix
,coo_matrix
, etc.)object with
.shape
and.matvec
attributes
- Returns
LinearOperator object
- Return type
See also
scipy.sparse.aslinearoperator`()