bool syten::RepRegister::reg | ( | Group const & | group, |
RepLabel const & | label, | ||
std::vector< DenseTensor< 2, MDef > > const & | rOp, | ||
std::vector< DenseTensor< 2, MDef > > const & | lOp, | ||
std::vector< DenseTensor< 2, MDef > > const & | zOp | ||
) |
Registers a given representation.
group | Group to which this irrep belongs |
label | labels of this irrep |
rOp | vector of raising operators |
lOp | vector of lowering operators |
zOp | vector of z operators |
References syten::degree(), dim(), syten::GroupMaxDegree, lOp(), std::make_tuple(), std::move(), std::vector< T >::push_back(), repRegisterData, repRegisterDataMtx, rOp(), SYTEN_ASSERT_DEBUG, and zOp().
Referenced by syten::Rep::load().