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

◆ polar() [1/10]

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

Returns complex number with specified magnitude and phase angle.

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

Definition at line 22 of file polar.hpp.