AlgoSim
Homepage | Screenshots | Gallery of Visualisation | User's Guide | Function Reference | Download | FAQ | Support | Bugs and Solutions | Donate

Reference: arg

arg(z) returns the complex argument of the complex number z, i.e. the angle between the positive real (x) axis and the vector from the origin to z in the complex plane, in the interval ]-π, π].

Thus if z = x + yi where x and y are real numbers, arg(z) = arctan2(x, y).