VectorSubtractElementwise

Workspace.VectorSubtractElementwise(self: pyarts.arts._Workspace, c: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector, a: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector, b: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector, verbosity: pyarts.arts.WorkspaceVariable | pyarts.arts.Verbosity | None = self.verbosity) None

Element-wise subtraction of two vectors.

The method calculates c = a - b.

The variable b is allowed to have length 1, for any length of a. This single value in b is then subtracted to every element of a.

The vectors a and c can be the same WSV, while b can not be the same WSV as any of the the other vector.

Author(s): Patrick Eriksson

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

  • a (Vector) – Input vector. [IN]

  • b (Vector) – Vector to be subtracted. [IN]

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