| spLib
    | 
double型を扱うための行列型です. [詳解]
#include <sp/matrix.h>

| 公開メンバ関数 | |
| 行列型用ファイル入出力 (<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) | 
| 行列出力 (<sp/fileio.h>) | |
| void | dmfdump (spDMatrix mat, FILE *fp) | 
| #define | dmdump(mat) dmfdump(mat, (stdout)) | 
| フィールド | |
| long | row | 
| long | col | 
| double ** | data | 
| double ** | imag | 
double型を扱うための行列型です.
実際には,クラスではなく, typedef struct _spDMatrix *spDMatrix; により typedef された型です. メモリを確保するには, xdmalloc() , xdmzeros() などの xdm で始まる関数を呼び出す必要があります. また,メモリを解放するには, xdmfree() を呼ぶ必要があります. 
| double** data |