bundles / scipy latest / scipy / sparse / linalg / _interface / LinearOperator / matmat
function
scipy.sparse.linalg._interface:LinearOperator.matmat
source: build-install/usr/lib/python3.14/site-packages/scipy/sparse/linalg/_interface.py:469
Signature
def matmat(self, X)Summary
Matrix-matrix multiplication.
Extended Summary
Performs the operation A @ X where A is an M x N linear operator (or batch of linear operators) and X is a dense N x K matrix (or batch of dense matrices).
Parameters
X: {matrix, ndarray}An array with shape
(..., N, K)representing the dense matrix (or batch of dense matrices).
Returns
Y: {matrix, ndarray}An array with shape
(..., M, K).
Notes
This method wraps any user-specified matmat routine or overridden _matmat method to ensure that Y has the correct type.
Aliases
scipy.linalg._decomp_interpolative.LinearOperator.matmat