TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
triqs::gfs::bgf_unary_m_expr< L >

#include <triqs/gfs/block/expr.hpp>

Detailed Description

template<typename L>
struct triqs::gfs::bgf_unary_m_expr< L >

Lazy expression node representing the unary minus of a block Green's function operand.

Template Parameters
LType of the operand (a block Green's function or a wrapped scalar).

Definition at line 204 of file expr.hpp.

Public Types

using L_t = std::decay_t<L>
 Decayed type of the operand.
using mesh_t = typename L_t::mesh_t
 Mesh type of the expression.
using target_t = typename L_t::target_t
 Target type of the expression.

Public Member Functions

template<typename LL>
 bgf_unary_m_expr (LL &&l_)
 Construct from the operand.
auto block_names () const
 Get the block names 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.
auto size () const
 Get the number of blocks of the expression.

Public Attributes

l
 The operand.

Friends

std::ostream & operator<< (std::ostream &sout, bgf_unary_m_expr const &expr)
 Stream output of the expression.

Constructor & Destructor Documentation

◆ bgf_unary_m_expr()

template<typename L>
template<typename LL>
triqs::gfs::bgf_unary_m_expr< L >::bgf_unary_m_expr ( LL && l_)
inline

Construct from the operand.

Template Parameters
LLForwarding type of the operand.
Parameters
l_Operand.

Definition at line 224 of file expr.hpp.

Member Function Documentation

◆ block_names()

template<typename L>
auto triqs::gfs::bgf_unary_m_expr< L >::block_names ( ) const
inline

Get the block names of the expression.

Returns
The block names of the operand.

Definition at line 236 of file expr.hpp.

◆ size()

template<typename L>
auto triqs::gfs::bgf_unary_m_expr< L >::size ( ) const
inline

Get the number of blocks of the expression.

Returns
The number of blocks of the operand.

Definition at line 230 of file expr.hpp.


The documentation for this struct was generated from the following file: