|
TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
|
#include <triqs/mesh/matsubara_freq.hpp>
Represents a Matsubara frequency \( i\omega_n \).
A Matsubara frequency is defined by an index \( n \), the inverse temperature \( \beta \) and the particle statistics triqs::mesh::statistic_enum:
Definition at line 53 of file matsubara_freq.hpp.
Public Types | |
| using | cast_t = std::complex<double> |
| Value type of a Matsubara frequency. | |
Public Member Functions | |
| matsubara_freq ()=default | |
| Default constructor initializes the Matsubara frequency with zero index, zero inverse temperature and fermionic statistics. | |
| matsubara_freq (long n_idx, double b, statistic_enum stat) | |
| Construct a Matsubara frequency with a given index \( n \), inverse temperature \( \beta \) and particle statistics. | |
| long | index () const |
| Get the index \( n \) of the Matsubara frequency. | |
| operator cast_t () const | |
| Conversion to std::complex<double>. | |
| std::partial_ordering | operator<=> (matsubara_freq const &other) const |
| Partial ordering by index when beta and statistic match, unordered otherwise. | |
| bool | operator== (matsubara_freq const &) const =default |
| Equality comparison. | |
Public Attributes | |
| double | beta = 0.0 |
| Inverse temperature \( \beta \). | |
| long | n = 0 |
| Matsubara index \( n \). | |
| statistic_enum | statistic = Fermion |
| Particle statistics. | |
|
inline |
Construct a Matsubara frequency with a given index \( n \), inverse temperature \( \beta \) and particle statistics.
| n_idx | Matsubara index \( n \). |
| b | Inverse temperature \( \beta \). |
| stat | Particle statistics. |
Definition at line 80 of file matsubara_freq.hpp.