TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
density.cpp
#include "./density.hpp"
#include "./functions2.hpp"
#include "../gf/defs.hpp"
#include "../gf/gf_const_view.hpp"
#include "../gf/targets.hpp"
#include "../../mesh/imfreq.hpp"
#include "../../mesh/legendre.hpp"
#include "../../mesh/refreq.hpp"
#include "../../utility/exceptions.hpp"
#include "../../utility/macros.hpp"
#include <cmath>
#include <iostream>
#include <string>

Detailed Description

Implementation of the density functions for Green's functions.

Definition in file density.cpp.

Go to the source code of this file.

Functions

nda::matrix< dcomplextriqs::gfs::density (gf_const_view< mesh::imfreq > g, array_const_view< dcomplex, 3 > known_moments={})
 Compute the density from a Green's function.
dcomplex triqs::gfs::density (gf_const_view< mesh::imfreq, scalar_valued > g, array_const_view< dcomplex, 1 > known_moments={})
 Compute the density from a Green's function.
nda::matrix< dcomplextriqs::gfs::density (gf_const_view< mesh::legendre > g)
 Compute the density from a Green's function.
dcomplex triqs::gfs::density (gf_const_view< mesh::legendre, scalar_valued > g)
 Compute the density from a Green's function.
nda::matrix< dcomplextriqs::gfs::density (gf_const_view< mesh::refreq > g)
 Zero temperature density from integration on the real frequency axis.
nda::matrix< dcomplextriqs::gfs::density (gf_const_view< mesh::refreq > g, double beta)
 Finite temperature density from integration on the real frequency axis.
dcomplex triqs::gfs::density (gf_const_view< mesh::refreq, scalar_valued > g)
 Compute the zero-temperature density from a real-frequency Green's function.
dcomplex triqs::gfs::density (gf_const_view< mesh::refreq, scalar_valued > g, double beta)
 Compute the density from a Green's function.