Class : ComplexBasicLanczosAlgorithmWithGroundState
ComplexBasicLanczosAlgorithmWithGroundState :
prototype: ComplexBasicLanczosAlgorithmWithGroundState (AbstractArchitecture* , int maxIter = 0 )
description:default constructor
input parameters:
architecture = architecture to use for matrix operations
maxIter = an approximation of maximal number of iteration
ComplexBasicLanczosAlgorithmWithGroundState :
prototype: ComplexBasicLanczosAlgorithmWithGroundState (const ComplexBasicLanczosAlgorithmWithGroundState& algorithm )
description:copy constructor
input parameters:
algorithm = algorithm from which new one will be created
~ComplexBasicLanczosAlgorithmWithGroundState :
prototype: ~ComplexBasicLanczosAlgorithmWithGroundState ()
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
GetGroundState :
prototype: Vector& GetGroundState ()
description:get ground state (by re-running Lanczos algorithm)
input parameters:
return value: reference on ground state
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.