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

◆ get_real() [2/3]

template<typename Eig , require_eigen_vt< is_complex, Eig > * = nullptr>
auto stan::math::get_real ( 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_real.hpp.