Matrix Elements VB-800 Instrukcja Użytkownika Strona 78

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 172
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 77
70 Appendix A2 Exported Function Summary
vX[cT] in: vector
out: sorted vector
mX[cT][.] in: matrix
out: matrix with column iCol sorted (SortMatCol)
mX[cT][cX]in: matrix
out: matrix with columns sorted according to column iCol
(SortmXByCol)
mXt[cX][cT]in: matrix
out: matrix with rows sorted according to vector vBy[cT]
(SortmXtByVec)
Description
Sorting functions (.NaNs are pushed to the beginning).
ToeplitzSolve
void ToeplitzSolve(VECTOR vR, int cR, int cM, MATRIX mB,
int cB, VECTOR v_1);
vR[cR] in: vector specifying Toeplitz matrix
cM in: dimension of Toeplitz matrix, cM cR, remain-
der of vR is assumed zero.
mB[cM][cB] in: cM × cB rhs of system to be solved
out: contains X, the solution to AX = B
v
1[cM] in: work vector
out: changed, v_1[0] is the logarithm of the deter-
minant
Return value
0: success; 1: singular matrix or v_1 is NULL.
Description
Solves AX = B when A is symmetric Toeplitz.
VecAlloc
VECTOR VecAlloc(int cM);
cM in: required size of vector
Return value
Returns a pointer to the newly allocated vector, or NULL if the allocation failed,
or if cM was 0.
Description
A vector allocated with VecAlloc may be freed by using the standard C function
free.
VecrCopyMat, VeccCopyMat
Przeglądanie stron 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 ... 171 172

Komentarze do niniejszej Instrukcji

Brak uwag