| spLib
    | 
Matrix type that contains the elements of short type. More...
#include <sp/matrix.h>

| Public Member Functions | |
| File I/O for Matrix (<sp/fileio.h>) | |
| spSMatrix | xsmreadsmatrix (const char *filename, long ncol, int swap) | 
| spBool | smwritesmatrix (const char *filename, spSMatrix mat, int swap) | 
| Matrix Dump (<sp/fileio.h>) | |
| void | smfdump (spSMatrix mat, FILE *fp) | 
| #define | smdump(mat) smfdump(mat, (stdout)) | 
| Data Fields | |
| long | row | 
| long | col | 
| short ** | data | 
| short ** | imag | 
Matrix type that contains the elements of short type.
Actually, This is a typedefed type by typedef struct _spSMatrix *spSMatrix;. To allocate memory for spSMatrix, call a function with prefix xsm such as xsmalloc() , xsmzeros() , etc. To deallocate memory, call xsmfree() . 
| long row | 
| long col | 
| short** data |