SRDef syten::BTT::State::bnorm_node | ( | Ptr | ptr, |
Truncation | trunc = Truncation() , |
||
State::DropNorm const | dropN = DropNorm::Yes , |
||
State::DropUnmatched const | dropU = DropUnmatched::Yes |
||
) |
B-normalises the node pointed to by ptr, i.e. it gives an identity when contracted with the "B"-legs left open.
References aIdx, aInt, syten::Tensor< rank >::b(), bIdx, bInt, drop_all(), drop_unmatched_b(), std::isnan(), maybeCache(), syten::BTT::norm(), syten::Truncation::notTruncating(), pIdx, pInt, pleaseCache, syten::QR::qr(), rIdx, rInt, syten::Truncation::scale(), syten::singValSqdToError(), syten::SVD::svd(), SYTEN_ASSERT_DEBUG, and uncache().
Referenced by truncate_rec().