|
TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
|
#include <triqs/gfs/gf/gf_expr.hpp>
Lazy expression node representing the unary minus of a Green's function operand.
| L | Type of the operand (a Green's function or a wrapped scalar). |
Definition at line 258 of file gf_expr.hpp.
Public Types | |
| using | L_t = std::remove_reference_t<L> |
| Decayed type of the operand. | |
| using | mesh_t = typename L_t::mesh_t |
| Mesh type of the expression. | |
| using | regular_t = gf<mesh_t, target_t> |
| Regular (owning) type the expression evaluates to. | |
| using | target_t = typename L_t::target_t |
| Target type of the expression. | |
Public Member Functions | |
| template<typename LL> | |
| gf_unary_m_expr (LL &&l_) | |
| Construct from the operand. | |
| auto | data_shape () const |
| Get the data shape of the expression. | |
| decltype(auto) | mesh () const |
| Get the mesh of the expression. | |
| template<typename... Args> | |
| auto | operator() (Args &&...1) const |
| Evaluate the negated expression via call. | |
| template<typename... Keys> | |
| auto | operator[] (Keys &&...keys) const |
| Evaluate the negated expression via subscript. | |
Public Attributes | |
| L | l |
| The operand. | |
Friends | |
| std::ostream & | operator<< (std::ostream &sout, gf_unary_m_expr const &expr) |
| Stream output of the expression. | |
|
inline |
Construct from the operand.
| LL | Forwarding type of the operand. |
| l_ | Operand. |
Definition at line 281 of file gf_expr.hpp.
|
inline |
Get the data shape of the expression.
Definition at line 293 of file gf_expr.hpp.
|
inline |
Get the mesh of the expression.
Definition at line 287 of file gf_expr.hpp.