SyTen

◆ generateRandomBranching()

std::tuple< STensor, SBasisId > syten::T3N::RandomState::generateRandomBranching ( SBasis const &  first,
SBasis const &  second,
Index  maxBlocksize = std::numeric_limits<Index>::max() 
)

Generates a random Branching STensor of rank 3.

References syten::T3N::State::aIdx, syten::T3N::State::bIdx, syten::T3N::State::branchingDirs, syten::STensorImpl::SBasis::dir(), syten::STensorImpl::SBasis::gen_basis(), syten::genRandom(), and SYTEN_ASSERT_DEBUG.

Referenced by generateCompleteState_rec(), and generateNearVacuumState_rec().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: