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

◆ polar() [3/7]

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

Returns complex number with specified magnitude and phase angle.

Template Parameters
Tautodiff value type for phase angle +* *
Uarithmetic type for magnitude
Parameters
[in]rmagnitude
[in]thetaphase angle
Returns
complex number with magnitude and phase angle

Definition at line 53 of file polar.hpp.