.. Generated automatically by cpp2rst .. highlight:: c .. role:: red .. role:: green .. role:: param .. _triqs__hilbert_space__fundamental_operator_set: triqs::hilbert_space::fundamental_operator_set ============================================== *#include * .. rst-class:: cppsynopsis class :red:`fundamental_operator_set` This class represents an ordered set of **indices** of the canonical operators (see [[many_body_operator]]) used to build the Fock states. Every element of the set is an arbitrarily long sequence of integers/strings (types can be mixed within one sequence). The elements maintain the order they are inserted in Member types ------------ .. table:: :widths: 40 60 +----------------+-----------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | indices_t | indices_t | Sequence of indices (`std::vector` of int/string variant objects) | +----------------+-----------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | data_t | std::vector | The basic container `std::vector` | +----------------+-----------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | const_iterator | triqs::utility::dressed_iterator<_enum_iterator, _cdress> | Constant bidirectional iterator over all stored index sequences. For an iterator `it`, `it->index` gives the `indices_t` object pointed by this iterator, and `it->linear_index` is its position in the set. | +----------------+-----------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ Member functions ---------------- .. table:: :widths: 40 60 +------------------------------------------------------------------------------------------------------+--+ | :ref:`(constructor) ` | | +------------------------------------------------------------------------------------------------------+--+ | :ref:`insert_from_indices_t ` | | +------------------------------------------------------------------------------------------------------+--+ | :ref:`insert ` | | +------------------------------------------------------------------------------------------------------+--+ | :ref:`size ` | | +------------------------------------------------------------------------------------------------------+--+ | :ref:`has_indices ` | | +------------------------------------------------------------------------------------------------------+--+ | :ref:`operator[] ` | | +------------------------------------------------------------------------------------------------------+--+ | :ref:`operator== ` | | +------------------------------------------------------------------------------------------------------+--+ | :ref:`data ` | | +------------------------------------------------------------------------------------------------------+--+ | :ref:`begin ` | | +------------------------------------------------------------------------------------------------------+--+ | :ref:`end ` | | +------------------------------------------------------------------------------------------------------+--+ | :ref:`cbegin ` | | +------------------------------------------------------------------------------------------------------+--+ | :ref:`cend ` | | +------------------------------------------------------------------------------------------------------+--+ .. toctree:: :hidden: fundamental_operator_set/constructor fundamental_operator_set/insert_from_indices_t fundamental_operator_set/insert fundamental_operator_set/size fundamental_operator_set/has_indices fundamental_operator_set/operator[] fundamental_operator_set/operator== fundamental_operator_set/data fundamental_operator_set/begin fundamental_operator_set/end fundamental_operator_set/cbegin fundamental_operator_set/cend Non Member functions -------------------- .. table:: :widths: 40 60 +------------------------------------------------------------------------------------------------+--+ | :ref:`h5_write_attribute ` | | +------------------------------------------------------------------------------------------------+--+ | :ref:`h5_read_attribute ` | | +------------------------------------------------------------------------------------------------+--+ .. toctree:: :hidden: fundamental_operator_set/h5_write_attribute fundamental_operator_set/h5_read_attribute