Class : CompositeTensorProductStructure

class deriving from AbstractTensorProductStructure

CompositeTensorProductStructure :

prototype: CompositeTensorProductStructure ()

description:default constructor



CompositeTensorProductStructure :

prototype: CompositeTensorProductStructure (List spaceStructure )

description:constructor from datas


input parameters:
spaceStructure = list of all tensor space structure describing each subspace



CompositeTensorProductStructure :

prototype: CompositeTensorProductStructure (const CompositeTensorProductStructure& structure )

description:copy constructor


input parameters:
structure = reference on structure to copy



~CompositeTensorProductStructure :

prototype: ~CompositeTensorProductStructure ()

description:destructor



operator = :

prototype: CompositeTensorProductStructure& operator = (const CompositeTensorProductStructure& structure )

description:assignement


input parameters:
structure = reference on structure to assign


return value: reference on current structure



GetNbrSubspace :

prototype: int GetNbrSubspace ()

description:get number of subspaces


input parameters:


return value: number of subspaces



GetDimension :

prototype: int GetDimension (int space )

description:return dimension of a given space


input parameters:
space = space index


return value: space dimension



GetDimension :

prototype: int GetDimension (int , int subspace )

description:return dimension of a given space contained in a given subspace


input parameters:
space = space index
subspace = subspace index


return value: space dimension



GetSubspaceDimension :

prototype: int GetSubspaceDimension (int subspace )

description:return dimension of a given subspace


input parameters:
subspace = subspace index


return value: subspace dimension



GetSubspaceTensorProductStructure :

prototype: TensorProductStructure& GetSubspaceTensorProductStructure (int subspace )

description:return tensor product structure of given subspace


input parameters:
subspace = subspace index


return value: subspace tensor product structure



GetSubspaceIncrement :

prototype: int GetSubspaceIncrement (int subspace )

description:return increment to go to a given subspace


input parameters:
subspace = subspace index


return value: increment



GetTotalDimension :

prototype: int GetTotalDimension ()

description:return total space dimension


input parameters:


return value: dimension



GetTensorProductStructures :

prototype: List& GetTensorProductStructures ()

description:get list of tensor product structures that composed the current tensor space


input parameters:


return value: reference on list of tensor product structures



operator * :

prototype: friend CompositeTensorProductStructure operator * (CompositeTensorProductStructure& , CompositeTensorProductStructure& structure2 )

description:return tensor product structure of a space obtained by tensor product of two tensor spaces


input parameters:
structure1 = first structure
structure2 = second structure


return value: structure corresponding to the new tensor space



operator == :

prototype: friend bool operator == (CompositeTensorProductStructure& , CompositeTensorProductStructure& structure2 )

description:test if two tensor product structures are equivalent


input parameters:
structure1 = first structure
structure2 = second structure


return value: true if structures are equivalent



operator != :

prototype: friend bool operator != (CompositeTensorProductStructure& , CompositeTensorProductStructure& structure2 )

description:test if two tensor product structures are different


input parameters:
structure1 = first structure
structure2 = second structure


return value: true if structures are different



operator << :

prototype: friend ostream& operator << (ostream& , CompositeTensorProductStructure& structure )

description:print information on current tensor product structure


input parameters:
str = output stream
structure = structure to print


return value: reference on output stream



Back to index.