RationalAdd

Workspace.RationalAdd(self: pyarts.arts._Workspace, output: pyarts.arts.WorkspaceVariable | pyarts.arts.Rational, input: pyarts.arts.WorkspaceVariable | pyarts.arts.Rational, value: pyarts.arts.WorkspaceVariable | pyarts.arts.Rational, verbosity: pyarts.arts.WorkspaceVariable | pyarts.arts.Verbosity | None = self.verbosity) None

Adds a Rational and a value (output = input + value).

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

Author(s): Richard Larsson

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

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

  • value (Rational) – Value to add. [IN]

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