triqs::gfs::is_gf_real

#include <triqs/gfs.hpp>

Synopsis

template<typename G>
bool is_gf_real (G const & g, double tolerance = 1.e-13)

is_gf_real(g, tolerance).

Template parameters

  • G any Gf type

Parameters

  • g a gf

  • tolerance tolerance threshold

Returns

true iif the function g is real up to tolerance