|
TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
|
#include <triqs/mesh/k_expr.hpp>
Binary \( \mathbf{k} \)-vector expression.
| OP | Operator tag. |
| L | Left operand type (either a scalar or a triqs::mesh::brzone::mesh_point_t). |
| R | Right operand type (a triqs::mesh::brzone::mesh_point_t). |
Definition at line 67 of file k_expr.hpp.
Public Member Functions | |
| template<typename L1, typename R1> | |
| k_expr (L1 &&l1, R1 &&r1) | |
| Construct a binary \( \mathbf{k} \)-vector expression with the given operands. | |
| auto | index () const |
| Get the index of the \( \mathbf{k} \)-vector corresponding to the evaluated expression. | |
| uint64_t | mesh_hash () const |
| Get the hash value of the mesh to which the right hand side operand belongs. | |
| auto | value () const |
| Evaluate the expression template depending on the operator tag. | |
|
inline |
Construct a binary \( \mathbf{k} \)-vector expression with the given operands.
| l1 | Left hand side operand. |
| r1 | Right hand side operand. |
Definition at line 80 of file k_expr.hpp.
|
inlinenodiscard |
Get the index of the \( \mathbf{k} \)-vector corresponding to the evaluated expression.
See value() for the supported expressions.
Definition at line 109 of file k_expr.hpp.
|
inlinenodiscard |
Evaluate the expression template depending on the operator tag.
The following expressions are supported:
Definition at line 92 of file k_expr.hpp.