Class : OneSpaceTensor
OneSpaceTensor :
prototype: OneSpaceTensor ()
description:default constructor
OneSpaceTensor :
prototype: OneSpaceTensor (AbstractTensorProductStructure* , Matrix& , int targetSpace )
description:constructor from standard datas
input parameters:
struture = reference on tensor product structure
elementaryMatrix = reference on matrix to use
targetSpace = space on which matrix acts
OneSpaceTensor :
prototype: OneSpaceTensor (const OneSpaceTensor& M )
description:copy constructor (without duplicating datas)
input parameters:
M = matrix to copy
~OneSpaceTensor :
prototype: ~OneSpaceTensor ()
description:destructor
operator = :
prototype: OneSpaceTensor& operator = (const OneSpaceTensor& M )
description:assignement (without duplicating datas)
input parameters:
M = matrix to copy
return value: reference on modified matrix
Clone :
prototype: Matrix* Clone ()
description:return pointer on a clone matrix (without duplicating datas)
input parameters:
retrun value = pointer on new matrix
SetMatrixElement :
prototype: void SetMatrixElement (int , int , double x )
description:set a matrix element
input parameters:
i = line position
j = column position
x = new value for matrix element
SetMatrixElement :
prototype: void SetMatrixElement (int , int , const Complex& x )
description:set a matrix element
input parameters:
i = line position
j = column position
x = new value for matrix element
AddToMatrixElement :
prototype: void AddToMatrixElement (int , int , double x )
description:add a value to a matrix element
input parameters:
i = line position
j = column position
x = value to add to matrix element
AddToMatrixElement :
prototype: void AddToMatrixElement (int , int , const Complex& x )
description:add a value a matrix element
input parameters:
i = line position
j = column position
x = value to add to matrix element
Resize :
prototype: void Resize (int , int nbrColumn )
description:Resize matrix
input parameters:
nbrRow = new number of rows
nbrColumn = new number of columns
ResizeAndClean :
prototype: void ResizeAndClean (int , int nbrColumn )
description:Resize matrix and set to zero all elements that have been added
input parameters:
nbrRow = new number of rows
nbrColumn = new number of columns
Resize :
prototype: void Resize (const TensorProductStructure& structure )
description:Resize tensor
input parameters:
structure = new product tensor structure
ResizeAndClean :
prototype: void ResizeAndClean (const TensorProductStructure& structure )
description:Resize tensor and set to zero all components that have been added
input parameters:
structure = new product tensor structure
Tr :
prototype: double Tr ()
description:evaluate matrix trace
input parameters:
return value: matrix trace
Det :
prototype: double Det ()
description:evaluate matrix determinant
input parameters:
return value: matrix determinant
Back to index.