fromPolar
fn
Complex!(CommonType!(T, U)) fromPolar(T, U)(const T modulus, const U argument) @safe pure nothrow @nogcConstructs a complex number given its absolute value and argument.
Parameters
modulus | The modulus |
argument | The argument |
Returns
The complex number with the given modulus and argument.