bundles / scipy latest / scipy / sparse / linalg / _interface / LinearOperator / _matvec
function
scipy.sparse.linalg._interface:LinearOperator._matvec
source: build-install/usr/lib/python3.14/site-packages/scipy/sparse/linalg/_interface.py:300
Signature
def _matvec(self, x)Summary
Default matrix-vector multiplication handler.
Extended Summary
If self is a linear operator of shape (..., M, N), then this method will be called on a shape (..., N) array, and should return a shape (..., M) array.
Falls back to _matmat, so defining that will define matrix-vector multiplication as well.
Aliases
scipy.linalg._decomp_interpolative.LinearOperator._matvec