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

Public Member Functions | |
File I/O for Matrix (<sp/fileio.h>) | |
| spFMatrix | xfmreadfmatrix (const char *filename, long ncol, int swap) |
| spBool | fmwritefmatrix (const char *filename, spFMatrix mat, int swap) |
Matrix Dump (<sp/fileio.h>) | |
| void | fmfdump (spFMatrix mat, FILE *fp) |
| #define | fmdump(mat) fmfdump(mat, (stdout)) |
Data Fields | |
| long | row |
| long | col |
| float ** | data |
| float ** | imag |
Matrix type that contains the elements of float type.
Actually, This is a typedefed type by typedef struct _spFMatrix *spFMatrix;. To allocate memory for spFMatrix, call a function with prefix xfm such as xfmalloc() , xfmzeros() , etc. To deallocate memory, call xfmfree() .
| long row |
| long col |
| float** data |