1 2 #include "matimpl.h" 3 #include "math.h" 4 5 #if !defined(__AIJ_H) 6 #define __AIJ_H 7 8 /* The i[] and j[] arrays start at 1 not zero to support Fortran 77 */ 9 /* In Fortran j[i[k]+p-1] is the pth column in row k */ 10 11 /* 12 singlemalloc indicates that a, i and j where all obtained with 13 one big malloc 14 */ 15 typedef struct { 16 int sorted, roworiented, nonew, singlemalloc,outofrange,assembled; 17 int m,n,nz,mem,*diag, /* rows and columns */ 18 *i,*imax, *ilen, /* j + i[k] - 1 is start of row k */ 19 *j; /* ilen is actual lenght of row */ 20 Scalar *a; 21 } Matiaij; 22 23 #endif 24