dpnp.scipy.sparse.linalg.LinearOperator.matvec

method

LinearOperator.matvec(x)[source]

Matrix-vector multiplication y = A @ x.

Parameters:
x{dpnp.ndarray, usm_ndarray}

An array with shape (N,) or (N, 1).

Returns:
outdpnp.ndarray

An array with shape (M,) or (M, 1) matching the rank of x.