/[escript]/trunk/paso/src/mmio.h
ViewVC logotype

Diff of /trunk/paso/src/mmio.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 633 by dhawcroft, Thu Mar 23 05:37:00 2006 UTC revision 757 by woo409, Mon Jun 26 13:12:56 2006 UTC
# Line 21  Line 21 
21  #ifndef MM_IO_H  #ifndef MM_IO_H
22  #define MM_IO_H  #define MM_IO_H
23    
24  #ifdef __cplusplus  #include <stdio.h>
 extern "C" {  
 #endif  
25    
26  #define MM_MAX_LINE_LENGTH 1025  #define MM_MAX_LINE_LENGTH 1025
27  #define MatrixMarketBanner "%%MatrixMarket"  #define MatrixMarketBanner "%%MatrixMarket"
# Line 134  int mm_is_valid(MM_typecode matcode);      / Line 132  int mm_is_valid(MM_typecode matcode);      /
132    
133  /*  high level routines */  /*  high level routines */
134    
135  int mm_write_mtx_crd(char fname[], int M, int N, int nz, int I[], int J[],  int mm_write_mtx_crd(char fname[], int M, int N, int nz, int i[], int j[],
136           double val[], MM_typecode matcode);           double val[], MM_typecode matcode);
137  int mm_read_mtx_crd_data(FILE *f, int M, int N, int nz, int I[], int J[],  int mm_read_mtx_crd_data(FILE *f, int M, int N, int nz, int i[], int j[],
138          double val[], MM_typecode matcode);          double val[], MM_typecode matcode);
139  int mm_read_mtx_crd_entry(FILE *f, int *I, int *J, double *real, double *img,  int mm_read_mtx_crd_entry(FILE *f, int *i, int *j, double *real, double *img,
140              MM_typecode matcode);              MM_typecode matcode);
141    
142  int mm_read_unsymmetric_sparse(const char *fname, int *M_, int *N_, int *nz_,  int mm_read_unsymmetric_sparse(const char *fname, int *M_, int *N_, int *nz_,
143                  double **val_, int **I_, int **J_);                  double **val_, int **I_, int **J_);
144    
 #ifdef __cplusplus  
 }  
 #endif  
   
145  #endif  #endif
146    
147  /*  /*

Legend:
Removed from v.633  
changed lines
  Added in v.757

  ViewVC Help
Powered by ViewVC 1.1.26