SyTen

◆ Basis() [5/7]

syten::Basis::Basis ( Direction  dir_,
std::vector< Index > const &  sizes,
std::vector< Sector > const &  reps 
)

Creates a basis with reps.size() sectors.

Parameters
dir_Direction of the basis
sizesvector of sizes, one for each sector
repsvector of sectors, each containing one or more symmetry irreps

References add(), std::vector< T >::size(), and SYTEN_ASSERT.

+ Here is the call graph for this function: