Package linear_operators :: Package iterative :: Module dli :: Class LanczosAlgorithm
[hide private]
[frames] | no frames]

Class LanczosAlgorithm

source code

          object --+    
                   |    
algorithms.Algorithm --+
                       |
                      LanczosAlgorithm

Tridiagonalization Lanczos step and eigendecomposition at exit.

http://en.wikipedia.org/wiki/Lanczos_algorithm

Instance Methods [hide private]
 
__init__(self, A, **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
initialize(self) source code
 
iterate(self)
Perform one iteration and returns current solution.
source code
 
orthogonalization(self) source code
 
update_alpha(self) source code
 
update_w(self) source code
 
update_beta(self) source code
 
update_vectors(self) source code
 
at_exit(self)
Convert alpha and beta to a TridiagonalOperator and perform eigendecomposition.
source code

Inherited from algorithms.Algorithm: __call__, callback, cont

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, A, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

initialize(self)

source code 
Overrides: algorithms.Algorithm.initialize

iterate(self)

source code 

Perform one iteration and returns current solution.

Overrides: algorithms.Algorithm.iterate
(inherited documentation)

at_exit(self)

source code 

Convert alpha and beta to a TridiagonalOperator and perform eigendecomposition.

Overrides: algorithms.Algorithm.at_exit