scipy.sparse.linalg.LinearOperator.

rmatmat#

LinearOperator.rmatmat(X)[source]#

Adjoint matrix-matrix multiplication.

Performs the operation A^H @ X where A is an M x N linear operator (or batch of linear operators) and X is a dense M x K matrix (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 rmatmat routine or overridden _rmatmat method to ensure that Y has the correct type.