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

◆ polar() [6/7]

template<typename T >
std::complex< var > stan::math::polar ( r,
const var theta 
)
inline

Returns complex number with specified magnitude and phase angle.

Template Parameters
Tarithmetic type of magnitude
Parameters
[in]rmagnitude
[in]thetaphase angle
Returns
complex number with magnitude and phase angle

Definition at line 39 of file polar.hpp.