triqs::gfs::imag

#include <triqs/gfs.hpp>

Synopsis

template<typename G>
typename G::regular_type::real_t imag (G const & g)

Takes the imag part of g without check, and returns a new gf with a real target.

Template parameters

  • G any Gf, BlockGf or Block2Gf type

Parameters

  • g a gf