executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
nystrom_pcg_solverSolve regularized PSD systems with randomized Nyström preconditioned conjugate gradients and log convergence evidence.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill to reproduce the paper's Algorithm 5.1 on a PSD linear system (A + mu I)x=b. It should call or mirror the generated Nyström factorization and preconditioner contracts rather than bypassing them.
b.mu > 0.ell, tolerance, maximum iterations, and random seed.randomized_nystrom_factorization.nystrom_preconditioner.Run:
python scripts/pcg.py --self-test
python tests/test_pcg.py
The tests use a deterministic ill-conditioned PSD system and require Nyström PCG to converge in fewer iterations than ordinary CG.
This dense script is designed for bounded recovery experiments. For large paper-scale systems, replace dense arrays with matvec closures while preserving the same logging contract.