
64 Appendix A2 Exported Function Summary
mB[cB][cS] in: matrix B
mBBt[cB][cB] out: matrix containing BB
0
MATRIX MatBSBt(MATRIX mB, int cB, MATRIX mS,
int cS, MATRIX mBSBt);
mB[cB][cS] in: matrix B
mS[cS][cS] in: symmetric matrix S or NULL (equivalentto S =
I)
mBSBt[cB][cB] out: matrix containing BSB
0
MATRIX MatBtSB(MATRIX mB, int cB, MATRIX mS,
int cS, MATRIX mBtSB);
mB[cB][cS] in: matrix B
mS[cS][cS] in: symmetric matrix S or NULL (equivalentto S =
I)
mBtSB[cS][cS] out: matrix containing B
0
SB
MATRIX MatBtB(MATRIX mB, int cB, int cS, MATRIX mBtB);
mB[cB][cS] in: matrix B
mBtB[cS][cS] out: matrix containing B
0
B
MATRIX MatBtBVec(MATRIX mB, int cB, int cS, VECTOR vY, MATRIX mBtB);
mB[cB][cS] in: matrix B
vY[cS] in: vector y
mBtB[cS][cS] out: matrix containing (B − y)
0
(B − y)
Return value
MatAB returns mAB =AB.
MatABt returns mABt =AB
0
.
MatAtB returns mAtB =A
0
B.
MatBBt returns mBBt =BB
0
.
MatBSBt returns mBSBt =BSB
0
.
MatBtSB returns mBtSB =B
0
SB.
MatBtB returns mBtB =B
0
B.
MatBtBVec returns mBtB =(B − y)
0
(B − y).
MatAlloc, MatAllocBlock
MATRIX MatAlloc(int cM, int cN);
MATRIX MatAllocBlock(size_t cR, size_t cC);
cM, cN in: required matrix dimensions
Return value
Returns a pointer to the newly allocated cM × cN matrix, or NULL if the allocation
failed, or if cM was 0. Use MatFree to free the matrix.
Description
MatAlloc(a,b) is the macro version which maps to MatAllocBlock(a,b).
Comentarios a estos manuales