Matrix Elements VB-800 Instrukcja Użytkownika Strona 62

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 172
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 61
54 Appendix A2 Exported Function Summary
mXt[cX][cT] in: X
0
data matrix
out: householder vectors of QR decomposition of X,
holds H in lower diagonal, and R in upper diag-
onal
piPiv[cX] in: allocated vector or NULL
out: pivots (if argument is NULL on input, there will
be no pivoting)
pcR in: pointer to integer
out: row rank of X
0
vTau[cX] in: allocated vector
out: 2/h
0
h for each vector h of H
mQt[cX][cT] in: output from IDecQRtEx
Return value
IDecQRtEx returns 1 if successful, 0 if out of memory. IDecQRt and
IDecQRtRank return:
0: out of memory,
1: success,
2: ratio of diagonal elements of (X
0
X) is large,
rescaling is adviced,
1: (X
0
X) is (numerically) singular,
2: combines 2 and -1.
Description
Performs QR decomposition. IDecQRt amounts to a call to IDecQRtEx followed
by IDecQRtRank to determine the rank and return value.
IDecSVD
int IDecSVD(MATRIX mA, int cM, int cN, VECTOR vW, int fDoU,
MATRIX mU, int fDoV, MATRIX mV, int fSort);
mA[cM][cN] in: matrix to decompose, cM cN
out: unchanged
vW[cN] in: vector
out: the n (non-negative) singular values of A
fDoU in: TRUE: U matrix of decomposition required
mU[cM][cN] in: matrix
out: the matrix U (orth column vectors) of the de-
composition if fDoU == TRUE. Otherwise used
as workspace. mU may coincide with mA.
fDoV in: TRUE: V matrix required
mV[cM][cN] in: matrix
mV[cN][cN] out: the matrix V of the decomposition if fDoV ==
TRUE. Otherwise not referenced. mV may coin-
cide with mU if mU is not needed.
fSort in: if TRUE the singular values are sorted in decreas-
ing order with U, V accordingly.
Przeglądanie stron 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 171 172

Komentarze do niniejszej Instrukcji

Brak uwag