SyTen

◆ genRandom()

Tensor< 4 > syten::BTT::RandomState::genRandom ( Basis const &  a_basis,
Basis const &  b_basis,
Basis const &  p_basis,
Index  maxBlocksize = std::numeric_limits<Index>::max() 
)

Generates a random rank-5 tensor as required by the specified bases.

References syten::BTT::State::aIdx, syten::BTT::State::aInt, syten::BTT::State::bIdx, syten::BTT::State::bInt, syten::Basis::dir, syten::BTT::State::dirs, syten::Basis::flipped(), syten::genFuse(), syten::makeRandom(), syten::BTT::State::pIdx, syten::BTT::State::pInt, syten::BTT::State::rInt, 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: