TRIQS/nda 1.3.0
Multi-dimensional array library for C++
|
#include <nda/sym_grp.hpp>
A structure to capture combinations of complex conjugation and sign flip operations.
Definition at line 47 of file sym_grp.hpp.
Public Member Functions | |
template<typename T > | |
T | operator() (T const &x) const |
Function call operator to apply the operation to a value. | |
operation | operator* (operation const &rhs) |
Multiplication operator for two operations. | |
Public Attributes | |
bool | cc = false |
Boolean value indicating a complex conjugation operation. | |
bool | sgn = false |
Boolean value indicating a sign flip operation. | |
|
inline |
Function call operator to apply the operation to a value.
T | Value type. |
x | Value to which the operation is applied. |
Definition at line 73 of file sym_grp.hpp.
Multiplication operator for two operations.
The sign flip (complex conjugation) operation is set to true in the resulting product iff one of the two (exclusive or!) input operations has the sign flip (complex conjugation) operation set to true.
rhs | Right hand side operation. |
Definition at line 63 of file sym_grp.hpp.