fedoo.problem.Modal.set_solver
- Modal.set_solver(solver='auto', *, which=None, tol=0.0, maxiter=None, ncv=None)
Configure the symmetric generalized eigensolver.
- Parameters:
solver ({"auto", "eigsh", "eigh"}, default="auto") –
"auto"retains the problem’s automatic sparse/dense selection,"eigsh"forces SciPy’s sparse ARPACK solver, and"eigh"forces SciPy’s dense symmetric solver.which (str, optional) – ARPACK eigenvalue selection used by
eigsh. If omitted,solveselects a problem-specific default based on whethersigmais set.tol (optional) – Parameters forwarded to
scipy.sparse.linalg.eigsh()when the sparse solver is selected. They are retained but unused by a dense solve.maxiter (optional) – Parameters forwarded to
scipy.sparse.linalg.eigsh()when the sparse solver is selected. They are retained but unused by a dense solve.ncv (optional) – Parameters forwarded to
scipy.sparse.linalg.eigsh()when the sparse solver is selected. They are retained but unused by a dense solve.