Class : BasicLanczosAlgorithmWithGroundState

class deriving from AbstractLanczosAlgorithm

BasicLanczosAlgorithmWithGroundState :

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

description:default constructor


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



BasicLanczosAlgorithmWithGroundState :

prototype: BasicLanczosAlgorithmWithGroundState (const BasicLanczosAlgorithmWithGroundState& algorithm )

description:copy constructor


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



~BasicLanczosAlgorithmWithGroundState :

prototype: ~BasicLanczosAlgorithmWithGroundState ()

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



Back to index.