Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ polar() [4/7]

template<typename U , typename V , require_all_arithmetic_t< U, V > * = nullptr>
std::complex< double > stan::math::polar ( r,
theta 
)
inline

Returns the complex number with specified magnitude and phase angle.

Parameters
[in]rmagnitude
[in]thetaphase angle
Returns
complex number with magnitude and phase angle

Definition at line 39 of file polar.hpp.