scipy.sparse.linalg.LinearOperator.

rdot#

LinearOperator.rdot(x)[source]#

Multi-purpose multiplication method from the right.

Note

This method returns x A. To perform adjoint multiplication instead, use one of rmatvec or rmatmat, or take the adjoint first, like self.H.rdot(x) or x * self.H.

Parameters:
xarray_like or LinearOperator or scalar

Array-like input will be interpreted as a 1-D row vector or 2-D matrix (or batch of matrices) depending on its shape. See the Returns section for details.

Returns:
xAarray or LinearOperator
  • For LinearOperator input, operator composition is performed.

  • For scalar input, a lazily scaled operator is returned.

  • Otherwise, the input is expected to take the form of a dense 1-D vector or 2-D matrix (or batch of matrices), interpreted as follows (where self is an M by N linear operator):

    • If x has shape (M,) it is interpreted as a row vector.

    • If x has shape (..., K, M) for some integer K, it is interpreted as a matrix (or batch of matrices if there are batch dimensions).

See also

dot

Multi-purpose multiplication method from the left.

__rmul__

Equivalent method, used by the * operator from the right.

__rmatmul__

Method used by the @ operator from the right which rejects scalar input before calling this method.