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

◆ polar() [2/7]

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

Returns complex number with specified magnitude and phase angle.

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

Definition at line 39 of file polar.hpp.