pytc.solver.bug_mp2._hb_orth¶
- pytc.solver.bug_mp2._hb_orth(U, W, panel, dim, rel_tol=1e-08, passes=2)[source]¶
Streamed CholeskyQR2: directions orthonormal and orthogonal to
U.Each pass accumulates
U^T WandW^T Wand emits(W - U U^T W) Cfrom the Schur complement’s eigenpairs; one pass leaves~1e-5near convergence, two reach~1e-15. The cut is on squared singular values, floored above eps, and the count is capped atdim - r: the complement ofspan(U)cannot hold more.