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

◆ complex() [2/4]

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

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

Template Parameters
Scalarreal type (must be assignable to value_type)
Parameters
[in]rereal part

Definition at line 36 of file std_complex.hpp.