dpnp.scipy.sparse.linalg.LinearOperator.dot

method

LinearOperator.dot(x)[source]

Matrix-matrix or matrix-vector multiplication.

Parameters:
x{LinearOperator, scalar, dpnp.ndarray, usm_ndarray}

Right operand. A 1-D or 2-D array is applied via matvec / matmat; a scalar scales the operator; another LinearOperator forms a product operator.

Returns:
out{LinearOperator, dpnp.ndarray}

The product operator (scalar / operator operands) or the resulting array (array operand).

Notes

A host numpy.ndarray is rejected: dpnp does not perform implicit host-to-device copies. Transfer it with dpnp.asarray first.