Matrix Elements VB-800 Instrukcja Użytkownika Strona 67

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 172
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 66
A2.5 Ox exported mathematics functions 59
mA[cM][cN] in: cM by cN matrix of rank cN
out: unchanged
dEps in: tolerance to use
bAbsolute in: TRUE:usedEps, FALSE: dEps × norm
Return value
1: failure: out of memory; 2: failure: couldn’t find all singular values;
0: rank of matrix.
Description
Uses IDecSVD to find the rank of an m × n matrix A.
IntMatAlloc, IntMatFree, IntVecAlloc
INTMAT IntMatAlloc(int cM, int cN);
void IntMatFree(INTMAT im, int cM, int cN);
INTVEC IntVecAlloc(int cM);
cM, cN in: required matrix dimensions
Return value
IntMatAlloc returns a pointer to the newly allocated cM × cN matrix of integers
(INTMAT corresponds to int **), or NULL if the allocation failed, or if cM was 0.
Use IntMatFree to free such a matrix.
IntVecAlloc returns a pointer to the newly allocated cM vector of integers
(INTVEC corresponds to int *), or NULL if the allocation failed, or if cM was
0. Use the standard C function free to free such a matrix.
The allocated types are a matrix or vector of integers; there is no corresponding
type in Ox, and the allocated matrix cannot be passed directly to Ox code.
INullSpace
int INullSpace(MATRIX mA, int cM, int cN, bool fAppend);
mA[cM][cM] in: cM by cN matrix of rank cN, cM > cN (allocated
size must be cM by cM)
out: null space of A is appended (fAppend==TRUE)
or mA is overwritten by null space.
Return value
1: failure: couldn’t find all singular values, or out of memory;
0: rank of null space.
Description
Uses IDecSVD to find the orthogonal complement A
, m × m n,ofanm × n
matrix A of rank n, n<m, such that A
∗0
A
= I,A
∗0
A =0.
Note that the append option requires that A has full column rank (if not the last
m n columns of U are appended).
IOlsNorm, IOlsQR, OlsQRacc
Przeglądanie stron 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 171 172

Komentarze do niniejszej Instrukcji

Brak uwag