4using namespace triqs::gfs;
5using nda::clef::placeholder;
15 auto g2 =
gf{iw_mesh * iw_mesh, {1, 1}};
20 g2[iw_, inu_] << 1 / (iw_ + inu_ - 4);
21 std::cout << g2(0, 0) << std::endl;
25 for (
auto [w, nu] : g2.mesh()) g2[
w, nu] = 1 / (
w + nu - 4);
26 std::cout << g2(0, 0) << std::endl;
The owning Green's function container.
Imaginary frequency mesh type.
Umbrella header for the Green's function library.
Umbrella header for the TRIQS mesh types.
constexpr nda::clef::placeholder< 3 > w
Placeholder for the frequency .