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_preconditionerBuild and apply the inverse action of the Nyström preconditioner for regularized PSD linear systems.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill after obtaining U, lambda_hat from a randomized Nyström factorization. It provides the inverse preconditioner action used by Nyström PCG and dense diagnostics for small recovery experiments.
U: orthonormal Nyström basis.lambda_hat: nonnegative approximate eigenvalues.mu > 0: regularization parameter.apply_inverse_preconditioner(U, lambda_hat, mu, r) result.A + mu I versus the symmetrically preconditioned matrix.mu, and approximate orthonormality.lambda_hat if necessary.sigma = lambda_hat[-1] + mu.P^{-1} by scaling captured components with sigma / (lambda_hat_i + mu) and leaving orthogonal components unchanged.Run:
python scripts/preconditioner.py --self-test
python tests/test_preconditioner.py
The tests verify inverse-action shape, dimension checks, and condition-number reduction on a diagonal PSD example.
Dense condition-number diagnostics are intended for small experiments. Large systems should only use the vector action.