repl.txt (562B)
1 2 {{alias}}( re, im ) 3 Computes the argument of a complex number in radians. 4 5 The argument of a complex number, also known as the phase, is the angle of 6 the radius extending from the origin to the complex number plotted in the 7 complex plane and the positive real axis. 8 9 Parameters 10 ---------- 11 re: number 12 Real component. 13 14 im: number 15 Imaginary component. 16 17 Returns 18 ------- 19 phi: number 20 Argument. 21 22 Examples 23 -------- 24 > var phi = {{alias}}( 5.0, 3.0 ) 25 ~0.5404 26 27 See Also 28 -------- 29