MBO
|
Typedefs | |
typedef struct MboNumSubMatrix_t * | MboNumSubMatrix |
Data type for sub matrices. More... | |
Functions | |
MBO_EXPORT MBO_STATUS | mboNumSubMatrixCreate (MboNumOp op, MboGlobInd rmin, MboGlobInd rmax, MboGlobInd cmin, MboGlobInd cmax, MboNumSubMatrix *submat) |
Create a sub matrix from an existing MboNumOp. More... | |
MBO_EXPORT void | mboNumSubMatrixDestroy (MboNumSubMatrix *m) |
MBO_EXPORT void | mboNumSubMatrixSetTile (MboNumSubMatrix m, MboGlobInd rmin, MboGlobInd rmax, MboGlobInd cmin, MboGlobInd cmax) |
MBO_EXPORT MBO_STATUS | mboNumSubMatrixMatVec (struct MboAmplitude alpha, MboNumSubMatrix m, struct MboAmplitude *x, struct MboAmplitude beta, struct MboAmplitude *y) |
typedef struct MboNumSubMatrix_t* MboNumSubMatrix |
Data type for sub matrices.
MboNumSubMatrix objects can be created from MboNumOps using mboNumSubMatrixCreate.
MBO_EXPORT MBO_STATUS mboNumSubMatrixCreate | ( | MboNumOp | op, |
MboGlobInd | rmin, | ||
MboGlobInd | rmax, | ||
MboGlobInd | cmin, | ||
MboGlobInd | cmax, | ||
MboNumSubMatrix * | submat | ||
) |
Create a sub matrix from an existing MboNumOp.
op | The operator from which to create the submatrix. This operator must remain valid until the returned MboNumSubMatrix is destroyed or until the operator is replaced with #mboNumSubMatrixSetOp. |
rmin | First row of submatrix. |
rmax | One past last row of submatrix. |
cmin | First column of submatrix. |
cmax | One past last column of submatrix. |
submat | The newly create MboNumSubMatrix. This must be destroyed with mboNumSubMatrixDestroy. |