|
MBO
|
Typedefs | |
| typedef struct MboProdSpace_t * | MboProdSpace |
| Type for describing tensor product spaces. | |
Functions | |
| MBO_EXPORT MboProdSpace | mboProdSpaceCreate (MboLocInd dim) |
| Create a MboProdSpace. More... | |
| MBO_EXPORT void | mboProdSpaceDestroy (MboProdSpace *h) |
| Destroy a MboProdSpace. More... | |
| MBO_EXPORT void | mboProdSpaceMul (MboProdSpace h1, MboProdSpace *h2) |
| Kronecker product of two spaces. More... | |
| MBO_EXPORT MboProdSpace | mboProdSpaceCopy (MboProdSpace h) |
| Create a copy of a product space. More... | |
| MBO_EXPORT MboGlobInd | mboProdSpaceDim (MboProdSpace h) |
| Dimension of a tensor product space. More... | |
| MBO_EXPORT int | mboProdSpaceSize (MboProdSpace h) |
| Number of factor spaces. More... | |
| MBO_EXPORT void | mboProdSpaceGetDims (MboProdSpace h, int n, MboLocInd *dims) |
| Returns the dimensions of the elementary subspaces of h. More... | |
| MBO_EXPORT int | mboProdSpaceEqual (MboProdSpace h1, MboProdSpace h2) |
| Check product spaces for equality. More... | |
| MBO_EXPORT int | mboProdSpaceCheck (MboProdSpace h) |
| Check internal integrety of a product space. More... | |
| MBO_EXPORT int mboProdSpaceCheck | ( | MboProdSpace | h | ) |
Check internal integrety of a product space.
| h |
| MBO_EXPORT MboProdSpace mboProdSpaceCopy | ( | MboProdSpace | h | ) |
Create a copy of a product space.
The returned MboProdSpace must be destroyed with mboProdSpaceDestroy.
| h | The product space to copy. |
| MBO_EXPORT MboProdSpace mboProdSpaceCreate | ( | MboLocInd | dim | ) |
Create a MboProdSpace.
The created product space has to be destroyed with mboProdSpaceDestroy.
| dim | Dimension of the product space. |
| MBO_EXPORT void mboProdSpaceDestroy | ( | MboProdSpace * | h | ) |
| MBO_EXPORT MboGlobInd mboProdSpaceDim | ( | MboProdSpace | h | ) |
Dimension of a tensor product space.
| h | The dimension of this space is computed. |
| MBO_EXPORT int mboProdSpaceEqual | ( | MboProdSpace | h1, |
| MboProdSpace | h2 | ||
| ) |
Check product spaces for equality.
| h1 | First space. |
| h2 | Second space. |
| MBO_EXPORT void mboProdSpaceGetDims | ( | MboProdSpace | h, |
| int | n, | ||
| MboLocInd * | dims | ||
| ) |
Returns the dimensions of the elementary subspaces of h.
| h | The space. |
| n | Number of dimensions desired. The first n dimensions are returned in dims. If mboProdSpaceSize(h) is smaller than n only mboProdSpaceSize(h) values are written to dims. |
| dims | On exit dims contains the first n dimensions. dims should point to space for n or mboProdSpaceSize(h) integers - whichever is smaller. |
| MBO_EXPORT void mboProdSpaceMul | ( | MboProdSpace | h1, |
| MboProdSpace * | h2 | ||
| ) |
Kronecker product of two spaces.
h2 <- h1 * h2
| h1 | First operator for Kronecker product. |
| h2 | On input, the second operator for Kronecker product. On exit, h2 contains the product of h1 and h2. |
| MBO_EXPORT int mboProdSpaceSize | ( | MboProdSpace | h | ) |
1.8.8