xref: /petsc/src/mat/impls/dense/seq/dense.h (revision ca44d042d6f86ecc01fa7a52a5213a5161f95f53)
1 /* $Id: dense.h,v 1.7 2000/01/11 21:00:34 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