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

◆ get_imag() [3/3]

template<typename StdVec , require_std_vector_st< is_complex, StdVec > * = nullptr>
auto stan::math::get_imag ( const StdVec &  z)
inline

Return the real component of the complex argument.

Template Parameters
StdVecA std::vector type with complex scalar type
Parameters
[in]zcomplex value whose real component is extracted
Returns
real component of argument

Definition at line 42 of file get_imag.hpp.