scipy.sparse.linalg.LinearOperator.
rmatmat#
- LinearOperator.rmatmat(X)[source]#
Adjoint matrix-matrix multiplication.
Performs the operation
A^H @ XwhereAis anMxNlinear operator (or batch of linear operators) and X is a denseMxKmatrix (or batch of dense matrices). The default implementation defers to the adjoint.- Parameters:
- X{matrix, ndarray}
An array with shape
(..., M, K)representing the dense matrix (or batch of dense matrices).
- Returns:
- Y{matrix, ndarray}
An array with shape
(..., N, K).
Notes
This method wraps any user-specified
rmatmatroutine or overridden_rmatmatmethod to ensure that Y has the correct type.