void syten::MPS::TDVP::Worker::calcContr | ( | Index | startingPosition, |
bool const | verbose = false |
||
) |
Calculate full set of contractions, i.e.
left contractions from 0 to startingPosition and right contractions from length-1 to startingPosition.
References syten::TDVP::Conf::cache, syten::MPS::State::cache(), calcContrL(), calcContrR(), clearUnneeded(), conf, contrL, contrR, syten::genCombinator(), syten::genFuse(), syten::genSplit(), length, syten::MPS::Operator::lIdx, syten::MPS::State::lIdx, logTrace(), ops, position, psi, syten::MPS::Operator::rIdx, syten::MPS::State::rIdx, SYTEN_ASSERT_DEBUG, TPO_LOOP, and syten::verbose().
Referenced by sweep(), and Worker().