### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.12 Reference Guide (DRAFT) »
- Sparse matrices (`scipy.sparse`) »
- scipy.sparse.linalg »
- scipy.sparse.linalg.LinearOperator »

# scipy.sparse.linalg.LinearOperator.matvec

`LinearOperator.``matvec`(x)

  Matrix-vector multiplication

  Performs the operation y=A*x where A is an MxN linear operator and x is a column vector or rank-1 array.

  Parameters : | x : {matrix, ndarray} An array with shape (N,) or (N,1).
  Returns : | y : {matrix, ndarray} A matrix or ndarray with shape (M,) or (M,1) depending on the type and shape of the x argument.

  Notes

  This matvec wraps the user-specified matvec routine to ensure that y has the correct shape and type.

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.12 Reference Guide (DRAFT) »
- Sparse matrices (`scipy.sparse`) »
- scipy.sparse.linalg »
- scipy.sparse.linalg.LinearOperator »