The OpenD Programming Language

mir.complex.math

Complex math

Public Imports

mir.complex
public import mir.complex;
Undocumented in source.

Members

Functions

approxEqual
bool approxEqual(Complex!T lhs, Complex!T rhs, T maxRelDiff, T maxAbsDiff)

Computes whether two values are approximately equal, admitting a maximum relative difference, and a maximum absolute difference.

exp
Complex!T exp(Complex!T x)

Calculates ex.

log
Complex!T log(Complex!T x)

Calculate the natural logarithm of x. The branch cut is along the negative axis.

sqrt
Complex!T sqrt(Complex!T z)

Meta

Authors

Ilia Ki, Lars Tandle Kyllingstad, Don Clugston