SRDef syten::BTT::State::anorm_node | ( | Ptr | ptr, |
Truncation | trunc = Truncation() , |
||
State::DropNorm const | dropN = DropNorm::Yes , |
||
State::DropUnmatched const | dropU = DropUnmatched::Yes |
||
) |
A-normalises the node pointed to by ptr, i.e. it gives an identity when contracted with the "A"-legs left open.
References aIdx, aInt, bIdx, bInt, drop_all(), drop_unmatched_a(), 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().