.. Generated automatically by cpp2rst .. highlight:: c .. role:: red .. role:: green .. role:: param .. _triqs__atom_diag__atom_diag__flatten_subspace_index: triqs::atom_diag::atom_diag::flatten_subspace_index =================================================== *#include * **Synopsis** .. rst-class:: cppsynopsis | int :red:`flatten_subspace_index` (int :param:`sp_index`, int :param:`i`) const Returns the state index in the full Hilbert space given a subspace index and an inner index Parameters ^^^^^^^^^^ * :param:`sp_index` Index of the invariant subspace. * :param:`i` State index within the subspace.