TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
map.hpp
#include "./factories.hpp"
#include <type_traits>
#include <utility>
#include <vector>

Detailed Description

Provides the function applying a callable block by block to a block Green's function.

Definition in file map.hpp.

Go to the source code of this file.

Functions

template<typename F, typename G>
requires (is_block_gf_v<G>)
auto triqs::gfs::map (F &&f, G &&g)
 Apply a callable to each block of a block Green's function (alias of triqs::gfs::map_block_gf).
template<typename F, typename G>
auto triqs::gfs::map_block_gf (F &&f, G &&g)
 Apply a callable to each block of a block Green's function.