klyn.math.Complex.magnitude
method
public magnitude() as Double:
Description

Returns the magnitude (or absolute value) of the complex number.

Returns

The magnitude of the complex number. c = Complex<>(3, 4) print(c.magnitude()) # Output: 5