71 template <MemoryGf<mesh::refreq> GR, MemoryGf<mesh::imfreq> GW>
72 void pade(GR &gr, GW
const &gw,
int n_points,
double freq_offset)
73 requires(GR::target_rank > 0 && GW::target_rank > 0)
75 EXPECTS(gr.target_shape() == gw.target_shape());
76 for (
auto argtpl : gr.target_indices()) {
A read-only, non-owning view of a Green's function.
A mutable, non-owning view of a Green's function.
Provides tail fitting, slicing, inversion, reality and matrix-multiplication functions for Green's fu...
Provides the triqs::gfs::gf_const_view container, a read-only non-owning view of a Green's function.
Provides a mutable non-owning view of a Green's function.
void pade(gf_view< mesh::refreq, scalar_valued > gr, gf_const_view< mesh::imfreq, scalar_valued > gw, int n_points, double freq_offset)
Analytically continue a scalar Matsubara Green's function to the real-frequency axis via Pade.
auto slice_target_to_scalar(G &&g, Args &&...1)
Slice the target of a matrix-valued Green's function down to a scalar-valued one.
Common macros used in TRIQS.
Provides a mesh type on the imaginary frequency axis.
Provides a mesh type on the real frequency axis.
Provides the target types that fix the value stored at each mesh point of a Green's function.