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

◆ operator=()

template<typename ValueType >
template<typename U , typename = require_stan_scalar_t<U>>
complex_type & stan::math::complex_base< ValueType >::operator= ( U &&  re)
inline

Assign the specified value to the real part of this complex number and set imaginary part to zero.

Template Parameters
Uargument type (assignable to value_type)
Parameters
[in]rereal part
Returns
this

Definition at line 94 of file complex_base.hpp.