triqs::hilbert_space::space_partition::n_subspaces

#include <triqs/hilbert_space/space_partition.hpp>

Synopsis

space_partition::idx_t n_subspaces () const

Return the number of subspaces in the partition

Returns

Number of invariant subspaces