Class : ComplexBasicLanczosAlgorithmWithDiskStorage

class deriving from AbstractLanczosAlgorithm

ComplexBasicLanczosAlgorithmWithDiskStorage :

prototype: ComplexBasicLanczosAlgorithmWithDiskStorage (AbstractArchitecture* , int , int maxIter = 0 )

description:default constructor


input parameters:
architecture = architecture to use for matrix operations
nbrEigenvalue = number of wanted eigenvalues
maxIter = an approximation of maximal number of iteration



ComplexBasicLanczosAlgorithmWithDiskStorage :

prototype: ComplexBasicLanczosAlgorithmWithDiskStorage (const ComplexBasicLanczosAlgorithmWithDiskStorage& algorithm )

description:copy constructor


input parameters:
algorithm = algorithm from which new one will be created



~ComplexBasicLanczosAlgorithmWithDiskStorage :

prototype: ~ComplexBasicLanczosAlgorithmWithDiskStorage ()

description:destructor



InitializeLanczosAlgorithm :

prototype: void InitializeLanczosAlgorithm ()

description:initialize Lanczos algorithm with a random vector



InitializeLanczosAlgorithm :

prototype: void InitializeLanczosAlgorithm (const Vector& vector )

description:initialize Lanczos algorithm with a given vector


input parameters:
vector = reference to the vector used as first step vector



ResumeLanczosAlgorithm :

prototype: void ResumeLanczosAlgorithm ()

description:resume Lanczos algorithm from disk datas in current directory



GetGroundState :

prototype: Vector& GetGroundState ()

description:get last produced vector


input parameters:


return value: reference on last produced vector



RunLanczosAlgorithm :

prototype: void RunLanczosAlgorithm (int nbrIter )

description:run current Lanczos algorithm (continue from previous results if Lanczos algorithm has already been run)


input parameters:
nbrIter = number of iteration to do



TestConvergence :

prototype: bool TestConvergence ()

description:test if convergence has been reached


input parameters:


return value: true if convergence has been reached



Back to index.