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

◆ polar() [10/10]

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

Returns complex number with specified magnitude and phase angle.

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

Definition at line 52 of file polar.hpp.