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

◆ polar() [3/10]

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