krypy.recycling.generators - generators for deflation vector candidates¶
-
class
krypy.recycling.generators.RitzExtremal(max_vectors=inf)¶ Bases:
krypy.recycling.generators._RitzSubsetsGeneratorSuccessively returns the extremal Ritz values.
For self-adjoint problems, the indices of the minimal negative, maximal negative, minimal positive and maximal positive Ritz values are returned.
For non-self-adjoint problems, only the indices of the Ritz values of smallest and largest magnitude are returned.
-
generate(ritz, remaining_subset)¶ Returns a list of subsets with indices of Ritz vectors that are considered for deflation.
-
-
class
krypy.recycling.generators.RitzSmall(max_vectors=inf)¶ Bases:
krypy.recycling.generators._RitzSubsetsGeneratorSuccessively returns the Ritz value of smallest magnitude.
-
generate(ritz, remaining_subset)¶ Returns a list of subsets with indices of Ritz vectors that are considered for deflation.
-