Tensor4Add

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

Adds a scalar value to all elements of a tensor4.

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

Author(s): Patrick Eriksson

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

  • input (Tensor4) – Input Tensor. [IN]

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

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