|
00001 // 00002 // general functions for SparseMatrixIO 00003 // 00004 00005 #ifndef _SPARSE_MATRIX_IO_ 00006 # define _SPARSE_MATRIX_IO_ 00007 00008 # include <stdio.h> 00009 # include <assert.h> 00010 # include "UDF.h" 00011 #include <iostream> 00012 using namespace std; 00013 00014 void ReadMATLABSparseHeader(FILE *fid, int DIM, 00015 int *header, int *anz, int *jmax,int *Ncomponents, 00016 double *XA , double *XE, 00017 bool *CastFloat, bool *do_swap) ; 00018 00019 #endif