VectorAdd

Workspace.VectorAdd(self: pyarts.arts._Workspace, output: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector, input: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector, value: pyarts.arts.WorkspaceVariable | pyarts.arts.Numeric, verbosity: pyarts.arts.WorkspaceVariable | pyarts.arts.Verbosity | None = self.verbosity) None

Adds a scalar to all elements of a vector.

The result can either be stored in the same or another vector.

Author(s): Patrick Eriksson

Parameters:
  • output (Vector) – Output Vector. [OUT]

  • input (Vector) – Input Vector. [IN]

  • value (Numeric) – The value to be added to the vector. [IN]

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