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

◆ complex() [3/4]

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

Construct a complex number with specified real part and zero imaginary part.

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

Definition at line 46 of file std_complex.hpp.