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

◆ operator=()

template<typename U , typename = stan::require_arithmetic_t<U>>
auto & std::complex< stan::math::var >::operator= ( const std::complex< U > &  x)
inline

Set the real and imaginary components of this complex number to those of the specified complex number.

Template Parameters
Uvalue type of argument (must be an arithmetic type)
Parameters
[in]xcomplex argument
Returns
this

Definition at line 61 of file std_complex.hpp.