Loading [MathJax]/extensions/TeX/AMSsymbols.js
Automatic Differentiation
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

◆ get_imag() [2/3]

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

Return the real component of the complex argument.

Template Parameters
EigA type derived from Eigen::EigenBase
Parameters
[in]zcomplex value whose real component is extracted
Returns
real component of argument

Definition at line 30 of file get_imag.hpp.