Returns the sum/union of two bases, i.e. the size of a sector in the returned basis is the maximum of the sizes in the two input bases.
References syten::Basis::dir, syten::Basis::elementSize(), std::max(), and SYTEN_ASSERT_MSG.
Referenced by allSiteEntropy(), syten::ProjectedPurification::complementary(), entropyTwoSite(), syten::MPS::TDVP::LBOWorker::evo_two_m(), syten::MPS::TDVP::Worker::evolveTwo(), syten::T3N::RandomState::generateCompleteState(), syten::MPS::ChemHelper::genMPO(), syten::T3N::ChemHelper::genMPO(), syten::Tensor< rank >::getAvgBlocksize(), syten::T3N::DMRG::Run::update_phys_2site(), syten::T3N::TDVP::Worker::update_phys_branch_phys(), syten::T3N::DMRG::Run::update_phys_branching_2site(), and syten::T3N::TDVP::Worker::update_phys_phys().