29 #ifndef MBO_PROD_SPACE_H
30 #define MBO_PROD_SPACE_H
32 #include <MboExport.h>
42 struct MboProdSpace_t;
MBO_EXPORT void mboProdSpaceGetDims(MboProdSpace h, int n, MboLocInd *dims)
Returns the dimensions of the elementary subspaces of h.
struct MboProdSpace_t * MboProdSpace
Type for describing tensor product spaces.
Definition: MboProdSpace.h:46
MBO_EXPORT MboGlobInd mboProdSpaceDim(MboProdSpace h)
Dimension of a tensor product space.
MBO_EXPORT int mboProdSpaceCheck(MboProdSpace h)
Check internal integrety of a product space.
MBO_EXPORT int mboProdSpaceSize(MboProdSpace h)
Number of factor spaces.
MBO_EXPORT void mboProdSpaceMul(MboProdSpace h1, MboProdSpace *h2)
Kronecker product of two spaces.
long long MboGlobInd
Global indices.
Definition: MboIndices.h:34
MBO_EXPORT MboProdSpace mboProdSpaceCopy(MboProdSpace h)
Create a copy of a product space.
int MboLocInd
Local indices.
Definition: MboIndices.h:31
Integer types for indices used in mbo library.
MBO_EXPORT int mboProdSpaceEqual(MboProdSpace h1, MboProdSpace h2)
Check product spaces for equality.
MBO_EXPORT MboProdSpace mboProdSpaceCreate(MboLocInd dim)
Create a MboProdSpace.
MBO_EXPORT void mboProdSpaceDestroy(MboProdSpace *h)
Destroy a MboProdSpace.