Go to the source code of this file.
Classes | |
| struct | smat |
| struct | dmat |
| struct | svdrec |
Defines | |
| #define | FALSE 0 |
| #define | TRUE 1 |
| #define | SVD_IS_SPARSE(format) ((format >= SVD_F_STH) && (format <= SVD_F_SB)) |
Typedefs | |
| typedef struct smat * | SMat |
| typedef struct dmat * | DMat |
| typedef struct svdrec * | SVDRec |
Enumerations | |
| enum | svdCounters { SVD_MXV, SVD_COUNTERS, SVD_MXV, SVD_COUNTERS, SVD_MXV, SVD_COUNTERS } |
| enum | svdFileFormats { SVD_F_STH, SVD_F_ST, SVD_F_SB, SVD_F_DT, SVD_F_DB, SVD_F_STH, SVD_F_ST, SVD_F_SB, SVD_F_DT, SVD_F_DB, SVD_F_STH, SVD_F_ST, SVD_F_SB, SVD_F_DT, SVD_F_DB } |
Functions | |
| void | svdResetCounters (void) |
| DMat | svdNewDMat (int rows, int cols) |
| void | svdFreeDMat (DMat D) |
| SMat | svdNewSMat (int rows, int cols, int vals) |
| void | svdFreeSMat (SMat S) |
| SVDRec | svdNewSVDRec (void) |
| void | svdFreeSVDRec (SVDRec R) |
| DMat | svdConvertStoD (SMat S) |
| SMat | svdConvertDtoS (DMat D) |
| DMat | svdTransposeD (DMat D) |
| SMat | svdTransposeS (SMat S) |
| void | svdWriteDenseArray (double *a, int n, char *filename, char binary) |
| double * | svdLoadDenseArray (char *filename, int *np, char binary) |
| SMat | svdLoadSparseMatrix (char *filename, int format) |
| DMat | svdLoadDenseMatrix (char *filename, int format) |
| void | svdWriteDenseMatrix (DMat A, char *filename, int format) |
| void | svdWriteSparseMatrix (SMat A, char *filename, int format) |
| SVDRec | svdLAS2 (SMat A, long dimensions, long iterations, double end[2], double kappa) |
| SVDRec | svdLAS2A (SMat A, long dimensions) |
Variables | |
| char * | SVDVersion |
| long | SVDVerbosity |
| long | SVDCount [SVD_COUNTERS] |
| #define FALSE 0 |
Definition at line 5 of file svdlib.h.
Referenced by imtql2(), imtqlb(), isPipe(), lanso(), main(), purge(), ritvec(), store(), stringEndsIn(), svd_readBinFloat(), svd_readBinInt(), svd_writeBinFloat(), svd_writeBinInt(), svdLAS2(), svdLoadDenseArray(), svdNewSMat(), svdWriteDenseArray(), svdWriteDenseMatrix(), and svdWriteSparseMatrix().
| #define SVD_IS_SPARSE | ( | format ) | ((format >= SVD_F_STH) && (format <= SVD_F_SB)) |
| #define TRUE 1 |
Definition at line 8 of file svdlib.h.
Referenced by imtql2(), imtqlb(), isPipe(), lanczos_step(), lanso(), main(), purge(), ritvec(), stringEndsIn(), svd_readBinFloat(), svd_readBinInt(), svd_writeBinFloat(), svd_writeBinInt(), svdLAS2(), and svdNewSMat().
| enum svdCounters |
| enum svdFileFormats |
Definition at line 104 of file svdlib.c.
Referenced by CovIntra(), svdLoadSparseMatrix(), and svdWriteDenseMatrix().
Definition at line 89 of file svdlib.c.
Referenced by svdLoadDenseMatrix(), and svdWriteSparseMatrix().
| void svdFreeDMat | ( | DMat | D ) |
Definition at line 37 of file svdlib.c.
Referenced by CovIntra(), svdFreeSVDRec(), svdLoadSparseMatrix(), and svdWriteSparseMatrix().
| void svdFreeSMat | ( | SMat | S ) |
Definition at line 60 of file svdlib.c.
Referenced by CovIntra(), main(), svdLAS2(), svdLoadDenseMatrix(), svdNewSMat(), and svdWriteDenseMatrix().
| void svdFreeSVDRec | ( | SVDRec | R ) |
Definition at line 77 of file svdlib.c.
Referenced by CovIntra().
Definition at line 326 of file las2.c.
Referenced by CovIntra(), main(), and svdLAS2A().
| double* svdLoadDenseArray | ( | char * | filename, |
| int * | np, | ||
| char | binary | ||
| ) |
| DMat svdLoadDenseMatrix | ( | char * | filename, |
| int | format | ||
| ) |
| SMat svdLoadSparseMatrix | ( | char * | filename, |
| int | format | ||
| ) |
| DMat svdNewDMat | ( | int | rows, |
| int | cols | ||
| ) |
Definition at line 20 of file svdlib.c.
Referenced by CovIntra(), svdConvertStoD(), svdLAS2(), svdLoadDenseBinaryFile(), svdLoadDenseTextFile(), and svdTransposeD().
| SMat svdNewSMat | ( | int | rows, |
| int | cols, | ||
| int | vals | ||
| ) |
Definition at line 45 of file svdlib.c.
Referenced by svdConvertDtoS(), svdLoadSparseBinaryFile(), svdLoadSparseTextFile(), svdLoadSparseTextHBFile(), and svdTransposeS().
| void svdWriteDenseArray | ( | double * | a, |
| int | n, | ||
| char * | filename, | ||
| char | binary | ||
| ) |
| void svdWriteDenseMatrix | ( | DMat | A, |
| char * | filename, | ||
| int | format | ||
| ) |
Definition at line 539 of file svdlib.c.
Referenced by CovIntra(), main(), and svdLAS2().
| void svdWriteSparseMatrix | ( | SMat | A, |
| char * | filename, | ||
| int | format | ||
| ) |
| long SVDCount[SVD_COUNTERS] |
| long SVDVerbosity |
Definition at line 7 of file svdlib.c.
Referenced by CovIntra(), main(), and svdLAS2().
| char* SVDVersion |
Definition at line 6 of file svdlib.c.
Referenced by printUsage(), and svdWriteSparseTextHBFile().
1.7.2