triqs::gfs::real

#include <triqs/gfs.hpp>

Synopsis

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

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

Template parameters

  • G any Gf, BlockGf or Block2Gf type

Parameters

  • g a gf