Matrix Elements VB-800 Manual de usuario Pagina 65

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 172
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 64
A2.5 Ox exported mathematics functions 57
mA[cA][cA] in: ptr to matrix to be inverted
out: contains the inverse, if successful
pdLogDet out: the logarithm of the absolute value of the deter-
minant of A
piSignDet out: the sign of the determinant of A; 0: singular;
1, 2: negative determinant; +1, +2: positive
determinant; 2, +2: result is unreliable
Return value
0: success; 1,2,3: see ILDLdec.
Description
Computes inverse of a matrix using LU decomposition.
ILDLbandDec
int ILDLbandDec(MATRIX mA, VECTOR vD, int cB, int cA);
mA[cB][cA] in: ptr to sym. pd. band matrix to be decomposed
out: contains the L matrix (except for the 1s on the
diagonal)
vD[cA] out: the reciprocal of D (not the square root!)
cB in: 1+bandwidth
Return value
See ILDLdec.
Description
Computes the Choleski decomposition of a symmetric positive band matrix. The
matrix is stored as in decldlband.
ILDLdec
int ILDLdec(MATRIX mA, VECTOR vD, int cA);
mA[cA][cA] in: ptr to sym. pd. matrix to be decomposed only
the lower diagonal is referenced;
out: the strict lower diagonal of A contains the L ma-
trix (except for the 1’s on the diagonal)
vD[cA] out: the reciprocal of D (not the square root!)
Return value
0 no error;
1 the matrix is negative definite;
2 the matrix is (numerically) singular;
3 NULL pointer argument
Description
Computes the Choleski decomposition of a symmetric positive definite matrix.
ILUPdec
Vista de pagina 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 171 172

Comentarios a estos manuales

Sin comentarios