SciPy Sparse Solvers: Singularity, Convergence and Residuals

SciPy Sparse Solvers: Singularity, Convergence and Residuals

Choose one answer. All questions are included, with explanations after checking. No time limit. Training target: 23/28. Diagnose sparse linear systems with SciPy: assembly, rank and constraints, solver assumptions, residual tests, preconditioning, repeated solves and factor memory. Uses the SciPy 1.18 API. Assumes basic Python and linear algebra; this is a thematic test, not a certification exam. Sources: https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.linalg.spsolve.html https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.linalg.cg.html https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.linalg.gmres.html https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.linalg.splu.html https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.linalg.spilu.html https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.linalg.LinearOperator.html https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.linalg.lsqr.html https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.linalg.minres.html https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.linalg.MatrixRankWarning.html https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.coo_array.html https://docs.scipy.org/doc/scipy/tutorial/sparse.html
1 из 28
A matrix has only a few nonzeros per row, yet its sparse LU factorization exhausts memory. What explanation is consistent with sparse direct elimination?