VectorSparseMultiply

Workspace.VectorSparseMultiply(self: pyarts.arts._Workspace, y: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector, M: pyarts.arts.WorkspaceVariable | pyarts.arts.Sparse, x: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector, verbosity: pyarts.arts.WorkspaceVariable | pyarts.arts.Verbosity | None = self.verbosity) None

Multiply a Vector with a Sparse and store the result in another Vector.

This just computes the normal matrix-vector product, y=M*x, with m being a Sparse. It is ok if input and output Vector are the same.

Author(s): Patrick Eriksson

Parameters:
  • y (Vector) – The result of the multiplication (dimension m). [OUT]

  • M (Sparse) – The Sparse to multiply (dimension m x n). [IN]

  • x (Vector) – The original Vector (dimension n). [IN]

  • verbosity (Verbosity) – ARTS verbosity. See verbosity, defaults to self.verbosity [IN]