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

◆ complex_polar()

template<typename U , typename V >
complex_return_t< U, V > stan::math::internal::complex_polar ( const U &  r,
const V &  theta 
)
inline

Returns 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 22 of file polar.hpp.