AbsComplex function

Fully qualified name: Std.Math.AbsComplex

function AbsComplex(input : Complex) : Double

Summary

Returns the absolute value of a complex number of type Complex.

Input

input

Complex number c = x + y𝑖.

Output

Absolute value |c| = √(x² + y²).