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

◆ real()

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

Return the real component of the complex argument.

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

Definition at line 18 of file real.hpp.