The OpenD Programming Language

conj

@safe pure nothrow @nogc
conj
(
T
)

Return Value

Type: Complex!T

The complex conjugate of z.

Examples

assert(conj(complex(1.0)) == complex(1.0));
assert(conj(complex(1.0, 2.0)) == complex(1.0, -2.0));

Meta