Automatic Differentiation
 
Loading...
Searching...
No Matches
arg.hpp File Reference
#include <stan/math/prim/fun/atan2.hpp>
#include <cmath>
#include <complex>

Go to the source code of this file.

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 
namespace  stan::math::internal
 A comparator that works for any container type that has the brackets operator.
 

Functions

template<typename V , require_arithmetic_t< V > * = nullptr>
stan::math::arg (const std::complex< V > &z)
 Return the phase angle of the complex argument.
 
template<typename V >
stan::math::internal::complex_arg (const std::complex< V > &z)
 Return the phase angle of the complex argument.