internal.types.complex
class complex
Fields
2
real
float
imag
float
Constructors
3
Methods
2
Special methods
20
__add__(self: Self, other: float, /) -> complex
__add__(self: Self, other: int, /) -> complex
__add__(self: Self, other: complex, /) -> complex
__sub__(self: Self, other: float, /) -> complex
__sub__(self: Self, other: int, /) -> complex
__sub__(self: Self, other: complex, /) -> complex
__mul__(self: Self, other: float, /) -> complex
__mul__(self: Self, other: int, /) -> complex
__mul__(self: Self, other: complex, /) -> complex
__truediv__(self: Self, other: float, /) -> complex
__truediv__(self: Self, other: int, /) -> complex
__truediv__(self: Self, other: complex, /) -> complex
__eq__(self: Self, other: float, /) -> bool
__eq__(self: Self, other: int, /) -> bool
__eq__(self: Self, other: complex, /) -> bool
__ne__(self: Self, other: float, /) -> bool
__ne__(self: Self, other: int, /) -> bool
__ne__(self: Self, other: complex, /) -> bool
__pow__(self: Self, other: float, /) -> complex
__pow__(self: Self, other: int, /) -> complex
__pow__(self: Self, other: complex, /) -> complex
__radd__(self: Self, other: float, /) -> complex
__radd__(self: Self, other: int, /) -> complex
__rsub__(self: Self, other: float, /) -> complex
__rsub__(self: Self, other: int, /) -> complex
__rmul__(self: Self, other: float, /) -> complex
__rmul__(self: Self, other: int, /) -> complex
__rtruediv__(self: Self, other: float, /) -> complex
__rtruediv__(self: Self, other: int, /) -> complex
__rpow__(self: Self, other: float, /) -> complex
__rpow__(self: Self, other: int, /) -> complex
f32 = float32
Alias of
float32class complex64
Constructors
5
Methods
2
Special methods
21
__add__(self: Self, other: complex) -> complex
__add__(self: Self, other: float32) -> complex64
__add__(self: Self, other: float) -> complex
__add__(self: Self, other: int) -> complex
__add__(self: Self, other: complex64) -> complex64
__sub__(self: Self, other: complex) -> complex
__sub__(self: Self, other: float32) -> complex64
__sub__(self: Self, other: float) -> complex
__sub__(self: Self, other: int) -> complex
__sub__(self: Self, other: complex64) -> complex64
__mul__(self: Self, other: complex) -> complex
__mul__(self: Self, other: float32) -> complex64
__mul__(self: Self, other: float) -> complex
__mul__(self: Self, other: int) -> complex
__mul__(self: Self, other: complex64) -> complex64
__truediv__(self: Self, other: complex) -> complex
__truediv__(self: Self, other: float32) -> complex64
__truediv__(self: Self, other: float) -> complex
__truediv__(self: Self, other: int) -> complex
__truediv__(self: Self, other: complex64) -> complex64
__pow__(self: Self, other: complex) -> complex
__pow__(self: Self, other: float32) -> complex64
__pow__(self: Self, other: float) -> complex
__pow__(self: Self, other: int) -> complex64
__pow__(self: Self, other: complex64) -> complex64
__eq__(self: Self, other: complex) -> bool
__eq__(self: Self, other: float32) -> bool
__eq__(self: Self, other: float) -> bool
__eq__(self: Self, other: int) -> bool
__eq__(self: Self, other: complex64) -> bool
__ne__(self: Self, other: complex) -> bool
__ne__(self: Self, other: float32) -> bool
__ne__(self: Self, other: float) -> bool
__ne__(self: Self, other: int) -> bool
__ne__(self: Self, other: complex64) -> bool
__radd__(self: Self, other: complex) -> complex
__radd__(self: Self, other: float32) -> complex64
__radd__(self: Self, other: float) -> complex
__radd__(self: Self, other: int) -> complex
__rsub__(self: Self, other: complex) -> complex
__rsub__(self: Self, other: float32) -> complex64
__rsub__(self: Self, other: float) -> complex
__rsub__(self: Self, other: int) -> complex
__rmul__(self: Self, other: complex) -> complex
__rmul__(self: Self, other: float32) -> complex64
__rmul__(self: Self, other: float) -> complex
__rmul__(self: Self, other: int) -> complex
__rtruediv__(self: Self, other: complex) -> complex
__rtruediv__(self: Self, other: float32) -> complex64
__rtruediv__(self: Self, other: float) -> complex
__rtruediv__(self: Self, other: int) -> complex
__rpow__(self: Self, other: complex) -> complex
__rpow__(self: Self, other: float32) -> complex64
__rpow__(self: Self, other: float) -> complex
__rpow__(self: Self, other: int) -> complex
class float128
Special methods
1
class float32
Special methods
1
class float16
Special methods
1
class bfloat16
Special methods
1