dlib.math.complex

Complex numbers

Members

Aliases

Complexf
alias Complexf = Complex!float

Alias for single precision Complex specialization

Functions

abs
T abs(Complex!T x)

Complex abs

atan2
T atan2(Complex!T x)

Complex atan2

exp
Complex!T exp(Complex!T s)

Complex exp

pow
Complex!T pow(Complex!T x, Complex!T n)

Complex pow

zeta
Complex!T zeta(Complex!T s)

Riemann zeta function: ζ(s) = 1/1^s + 1/2^s + 1/3^s + ...

Structs

Complex
struct Complex(T)

Complex number representation

Meta

Authors

Timur Gafarov