Class : VectorHamiltonianMultiplyOperation

class deriving from AbstractArchitectureOperation

VectorHamiltonianMultiplyOperation :

prototype: VectorHamiltonianMultiplyOperation (AbstractHamiltonian* , Vector* , Vector* destinationVector )

description:constructor


input parameters:
hamiltonian = pointer to the hamiltonian to use
sourceVector = vector to be multiplied by the hamiltonian
destinationVector = vector where the result has to be stored



VectorHamiltonianMultiplyOperation :

prototype: VectorHamiltonianMultiplyOperation (const VectorHamiltonianMultiplyOperation& operation )

description:copy constructor


input parameters:
operation = reference on operation to copy



~VectorHamiltonianMultiplyOperation :

prototype: ~VectorHamiltonianMultiplyOperation ()

description:destructor



SetIndicesRange :

prototype: void SetIndicesRange (const int& , const int& nbrComponent )

description:set range of indices


input parameters:
firstComponent = index of the first component
nbrComponent = number of component



SetDestinationVector :

prototype: void SetDestinationVector (Vector* DestinationVector )

description:set destination vector


input parameters:
vector where the result has to be stored



GetDestinationVector :

prototype: Vector* GetDestinationVector ()

description:get destination vector


input parameters:


return value: pointer to destination vector



Clone :

prototype: AbstractArchitectureOperation* Clone ()

description:clone operation


input parameters:


return value: pointer to cloned operation



ApplyOperation :

prototype: bool ApplyOperation ()

description:apply operation


input parameters:


return value: true if no error occurs



Back to index.