Closed
Description
Description
angle
computes the phase angle of complex
scalar in the interval [-π,π]. The angles in theta
are such that z = abs(z)*exp((0.0, theta))
.
theta = [[stdlib_math(module):angle(interface) (z) !! z: `complex` type
Inspired by forlab/angle
(MIT license), has been implemented in this branch (add_angle and add_arg) (PR will be made later.)
Prior Art