Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Won't Do
-
None
-
None
-
Issue must be moved to NUMBERS.
Description
Currently magnitude of complex is returned by calling abs while phase angle is returned by calling getArgument(). I propose deprecating getArgument and using arg() because:
– it's not really an accessor method since the argument is computed
– arg() is shorter, more elegant and similar to abs() with which its usage will sometimes be paired