Class : Tensor

class deriving from Matrix

~Tensor :

prototype: virtual ~Tensor ()

description:virtual destructor



GetNbrRow :

prototype: virtual int GetNbrRow (int space )

description:get number of row for a given space


input parameters:


return value: number of row



GetNbrColumn :

prototype: virtual int GetNbrColumn (int space )

description:get number of column for a given space


input parameters:


return value: number of column



GetTensorProductStructure :

prototype: virtual AbstractTensorProductStructure* GetTensorProductStructure ()

description:get tensor product structure associated to the current tensor


input parameters:


return value: reference on tensor product structure



Resize :

prototype: virtual void Resize (const TensorProductStructure& structure )

description:Resize tensor


input parameters:
structure = new product tensor structure



ResizeAndClean :

prototype: virtual 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



Back to index.