Lib/cmath
complex math library for Python's complex
Procs
func isfinite(z: PyTComplex): bool
- Source Edit
func isnan(z: PyTComplex): bool
- Source Edit
func log[T](z: PyTComplex[T]): PyTComplex[T]
- ln(z) Source Edit
func log[T](z: PyTComplex[T]; base: SomeNumber | PyTComplex[T]): PyTComplex[T]
- Source Edit
func rect[T](r, phi: T): PyTComplex[T]
- Source Edit
Templates
template acos(x: PyTComplex): untyped
- Source Edit
template acosh(x: PyTComplex): untyped
- Source Edit
template asin(x: PyTComplex): untyped
- Source Edit
template asinh(x: PyTComplex): untyped
- Source Edit
template atan(x: PyTComplex): untyped
- Source Edit
template atanh(x: PyTComplex): untyped
- Source Edit
template exp(z: PyTComplex): PyTComplex
- Source Edit
template log10(z: PyTComplex): PyTComplex
- Source Edit
template phase(z: PyTComplex): PyTComplex
- Source Edit
template polar(z: PyTComplex): PyTComplex
- Source Edit
template sin(z: PyTComplex): PyTComplex
- Source Edit
template sqrt(z: PyTComplex): PyTComplex
- Source Edit