SRDef syten::T3N::State::truncate | ( | Truncation const & | trunc = Truncation() , |
State::DropNorm const | dropN = DropNorm::Yes , |
||
bool const | correct_cgcs = true |
||
) |
Truncates the state.
See truncate_rec() for a detailed discussion of the algorithm.
trunc | Truncation specification |
dropN | if true, drop the norm on both normalisation sweep |
References syten::correct_cgc_tensors(), and std::isnan().