1 /* $Id: dense.h,v 1.6 1999/11/24 21:53:44 bsmith Exp bsmith $ */ 2 3 #include "src/mat/matimpl.h" 4 5 #if !defined(__DENSE_H) 6 #define __DENSE_H 7 8 /* 9 MATSEQDENSE format - conventional dense Fortran storage (by columns) 10 */ 11 12 typedef struct { 13 Scalar *v; /* matrix elements */ 14 int roworiented; /* if true, row oriented input (default) */ 15 int m,n; /* rows, columns */ 16 int pad; /* padding */ 17 int *pivots; /* pivots in LU factorization */ 18 int user_alloc; /* true if the user provided the dense data */ 19 } Mat_SeqDense; 20 21 extern int MatMult_SeqDense(Mat A,Vec,Vec); 22 extern int MatMultAdd_SeqDense(Mat A,Vec,Vec,Vec); 23 extern int MatMultTranspose_SeqDense(Mat A,Vec,Vec); 24 extern int MatMultTransposeAdd_SeqDense(Mat A,Vec,Vec,Vec); 25 26 #endif 27