Matrix Elements VB-800 Manual de usuario Pagina 74

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 172
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 73
66 Appendix A2 Exported Function Summary
Return value
!NULL: pointer to mRes indicating success;
NULL: failure: not enough memory or couldn’t find all singular values.
Description
Uses IDecSVD to find the generalized inverse.
MatGetAt
double MatGetAt(MATRIX mSrc, int i, int j);
mSrc in: matrix
i in: row index
j in: column index
Return value
Returns mDest[i][j].
MatI
MATRIX MatI(MATRIX mDest, int cM);
mDest[cM][cM] in: allocated matrix
out: identity matrix
Return value
Returns a pointer to mDest.
MatNaN
MATRIX MatNaN(MATRIX mDest, int cM, int cN);
mDest[cM][cN] in: allocated matrix
out: matrix filled with the NaN value (Not a Num-
ber)
Return value
Returns a pointer to mDest.
MatRan, MatRanNormal
MATRIX MatRan(MATRIX mA, int cR, int cC);
MATRIX MatRanNormal(MATRIX mA, int cR, int cC);
mA[cR][cC] in: allocated matrix
out: filled with random numbers
Return value
Both functions return mA
MatRan generates uniform random numbers, MatRanNormal standard normals.
MatReflect, MatTranspose
Vista de pagina 73
1 2 ... 69 70 71 72 73 74 75 76 77 78 79 ... 171 172

Comentarios a estos manuales

Sin comentarios