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

◆ imag()

template<typename T , require_autodiff_t< T > >
T stan::math::imag ( const std::complex< T > &  z)

Return the imaginary component of the complex argument.

Template Parameters
Tvalue type of complex argument
Parameters
[in]zcomplex value whose imaginary component is extracted
Returns
imaginary component of argument

Definition at line 18 of file imag.hpp.