syten::Basis::Basis | ( | Direction | dir_, |
std::vector< Index > const & | sizes, | ||
std::vector< Sector > const & | reps | ||
) |
Creates a basis with reps.size() sectors.
dir_ | Direction of the basis |
sizes | vector of sizes, one for each sector |
reps | vector of sectors, each containing one or more symmetry irreps |
References add(), std::vector< T >::size(), and SYTEN_ASSERT.