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:280
Signature
def _matmat(self, X, /)Summary
Default matrix-matrix multiplication handler.
Extended Summary
If self is a linear operator of shape (..., M, N), then this method will be called on a shape (..., N, K) array, and should return a shape (..., M, K) array.
Falls back to _matvec, so defining that will define matrix multiplication too (though in a very suboptimal way).
Aliases
scipy.linalg._decomp_interpolative.LinearOperator._matmat