spLib
|
Matrix type that contains the elements of long type. More...
#include <sp/matrix.h>
Public Member Functions | |
File I/O for Matrix (<sp/fileio.h>) | |
spLMatrix | xlmreadlmatrix (const char *filename, long ncol, int swap) |
spBool | lmwritelmatrix (const char *filename, spLMatrix mat, int swap) |
Matrix Dump (<sp/fileio.h>) | |
void | lmfdump (spLMatrix mat, FILE *fp) |
#define | lmdump(mat) lmfdump(mat, (stdout)) |
Data Fields | |
long | row |
long | col |
long ** | data |
long ** | imag |
Matrix type that contains the elements of long type.
Actually, This is a typedefed type by typedef struct _spLMatrix *spLMatrix;
. To allocate memory for spLMatrix, call a function with prefix xlm such as xlmalloc() , xlmzeros() , etc. To deallocate memory, call xlmfree() .
long row |
long col |
long** data |