Given two bases a
and b
, returns a combined basis a + b
considering symmetries: Sectors s
occuring in both bases have size a[s]+b[s]
, sectors only occuring in one basis keep their size.
References syten::Basis::add(), syten::Basis::dir, syten::Basis::hasSymmetry(), and SYTEN_ASSERT_DEBUG.
Referenced by expansion().