.. Generated automatically by cpp2rst .. highlight:: c .. role:: red .. role:: green .. role:: param .. _triqs__atom_diag__atom_diag__get_matrix_element_of_monomial: triqs::atom_diag::atom_diag::get_matrix_element_of_monomial =========================================================== *#include * **Synopsis** .. rst-class:: cppsynopsis | std::pair :red:`get_matrix_element_of_monomial` (operators::monomial_t const & :param:`op_vec`, int :param:`B`) const Get matrix representation for a monomial operator Parameters ^^^^^^^^^^ * :param:`op_vec` A product of canonical operators operators (a monomial) * :param:`B` Initial subspace B Returns ^^^^^^^ Index of the subspace connected from by :ref:`op_vec` from :ref:`B` and the corresponding matrix (not necessarily square)