The phase angle of a complex number is the angle the theoretical vector to (real,imag) forms with the real axis (i.e., its arc tangent). It returns the same as:
|
Parameters
- x
- Complex value.
Return value
Phase angle of x.T is x's complex template type (i.e., its value type).
Example
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
|
Output:
The polar form of (3,4) is 5*e^i*0.927295rad |
See also
| abs | Return absolute value of complex (function template) |
| polar | Return complex from polar components (function tempalte) |
