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

Public Member Functions | |
File I/O for Matrix (<sp/fileio.h>) | |
| spDMatrix | xdmreaddmatrix (const char *filename, long ncol, int swap) |
| spDMatrix | xdmreadsmatrix (const char *filename, long ncol, int swap) |
| spDMatrix | xdmreadlmatrix (const char *filename, long ncol, int swap) |
| spDMatrix | xdmreadfmatrix (const char *filename, long ncol, int swap) |
| spBool | dmwritedmatrix (const char *filename, spDMatrix mat, int swap) |
| spBool | dmwritesmatrix (const char *filename, spDMatrix mat, int swap) |
| spBool | dmwritelmatrix (const char *filename, spDMatrix mat, int swap) |
| spBool | dmwritefmatrix (const char *filename, spDMatrix mat, int swap) |
Matrix Dump (<sp/fileio.h>) | |
| void | dmfdump (spDMatrix mat, FILE *fp) |
| #define | dmdump(mat) dmfdump(mat, (stdout)) |
Data Fields | |
| long | row |
| long | col |
| double ** | data |
| double ** | imag |
Matrix type that contains the elements of double type.
Actually, This is a typedefed type by typedef struct _spDMatrix *spDMatrix;. To allocate memory for spDMatrix, call a function with prefix xdm such as xdmalloc() , xdmzeros() , etc. To deallocate memory, call xdmfree() .
| long row |
| long col |
| double** data |