bundles / scipy 1.17.1 / scipy / sparse / linalg / _interface / LinearOperator / _matvec
function
scipy.sparse.linalg._interface:LinearOperator._matvec
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,) or (N, 1) ndarray, and should return a shape (M,) or (M, 1) ndarray.
This default implementation falls back on _matmat, so defining that will define matrix-vector multiplication as well.
Aliases
-
scipy.linalg._decomp_interpolative.LinearOperator._matvec