__init__

Rational.__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: pyarts.arts.Rational, n: int = 0, d: int = 1) -> None

Default rational

  1. __init__(self: pyarts.arts.Rational, val: pyarts.arts.Rational) -> None

Copy instance

  1. __init__(self: pyarts.arts.Rational, wsv: pyarts.arts.WorkspaceVariable) -> None

Automatic conversion from a workspace variable

  1. __init__(self: pyarts.arts.Rational, arg0: pyarts.arts.String) -> None

From str

  1. __init__(self: pyarts.arts.Rational, arg0: float) -> None

From float