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

◆ complex() [2/4]

template<typename U , typename V >
std::complex< stan::math::var >::complex ( const U &  re,
const V &  im 
)
inline

Construct a complex number from real and imaginary parts.

Template Parameters
Utype of real part (assignable to value_type)
Vtype of imaginary part (assignable to value_type)
Parameters
[in]rereal part
[in]imimaginary part

Definition at line 36 of file std_complex.hpp.