krypy.recycling.generators
 generators for deflation vector candidates¶

class
krypy.recycling.generators.
RitzExtremal
(max_vectors=inf)¶ Bases:
krypy.recycling.generators._RitzSubsetsGenerator
Successively returns the extremal Ritz values.
For selfadjoint problems, the indices of the minimal negative, maximal negative, minimal positive and maximal positive Ritz values are returned.
For nonselfadjoint 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._RitzSubsetsGenerator
Successively 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.
