Name

arg function template — Computes argument (angle)

Synopsis

template<typename T> T arg(const complex<T>& z)

The arg function returns the argument (angle in polar coordinates) of z.

Get C++ In a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.