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

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

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

revision 1564 by gross, Thu May 22 09:31:33 2008 UTC revision 1639 by gross, Mon Jul 14 08:55:25 2008 UTC
# Line 63  typedef struct Paso_SparseMatrix { Line 63  typedef struct Paso_SparseMatrix {
63  Paso_SparseMatrix* Paso_SparseMatrix_alloc(Paso_SparseMatrixType,Paso_Pattern*,dim_t,dim_t);  Paso_SparseMatrix* Paso_SparseMatrix_alloc(Paso_SparseMatrixType,Paso_Pattern*,dim_t,dim_t);
64  Paso_SparseMatrix* Paso_SparseMatrix_getReference(Paso_SparseMatrix*);  Paso_SparseMatrix* Paso_SparseMatrix_getReference(Paso_SparseMatrix*);
65  void Paso_SparseMatrix_free(Paso_SparseMatrix*);  void Paso_SparseMatrix_free(Paso_SparseMatrix*);
66  void Paso_SparseMatrix_MatrixVector_CSC_OFFSET0(double alpha, Paso_SparseMatrix* A, double* in, double beta, double* out);  void Paso_SparseMatrix_MatrixVector_CSC_OFFSET0(const double alpha, const Paso_SparseMatrix* A, const double* in, const double beta, double* out);
67  void Paso_SparseMatrix_MatrixVector_CSC_OFFSET1(double alpha, Paso_SparseMatrix* A, double* in, double beta, double* out);  void Paso_SparseMatrix_MatrixVector_CSC_OFFSET1(double alpha, const Paso_SparseMatrix* A, const double* in, const double beta, double* out);
68  void Paso_SparseMatrix_MatrixVector_CSR_OFFSET0(double alpha, Paso_SparseMatrix* A, double* in, double beta, double* out);  void Paso_SparseMatrix_MatrixVector_CSR_OFFSET0(double alpha, const Paso_SparseMatrix* A, const double* in, const double beta, double* out);
69  void Paso_SparseMatrix_MatrixVector_CSR_OFFSET1(double alpha, Paso_SparseMatrix* A, double* in, double beta, double* out);  void Paso_SparseMatrix_MatrixVector_CSR_OFFSET1(double alpha, const Paso_SparseMatrix* A, const double* in, const double beta, double* out);
70  void Paso_SparseMatrix_copy(Paso_SparseMatrix*,double*);  void Paso_SparseMatrix_copy(Paso_SparseMatrix*,double*);
71  void Paso_SparseMatrix_addAbsRow_CSR_OFFSET0(Paso_SparseMatrix*,double*);  void Paso_SparseMatrix_addAbsRow_CSR_OFFSET0(Paso_SparseMatrix*,double*);
72  void Paso_SparseMatrix_addRow_CSR_OFFSET0(Paso_SparseMatrix*,double*);  void Paso_SparseMatrix_addRow_CSR_OFFSET0(Paso_SparseMatrix*,double*);
# Line 79  void Paso_SparseMatrix_saveHB_CSC(Paso_S Line 79  void Paso_SparseMatrix_saveHB_CSC(Paso_S
79  Paso_SparseMatrix* Paso_SparseMatrix_getSubmatrix(Paso_SparseMatrix* A,dim_t,dim_t,index_t*,index_t*);  Paso_SparseMatrix* Paso_SparseMatrix_getSubmatrix(Paso_SparseMatrix* A,dim_t,dim_t,index_t*,index_t*);
80  void Paso_SparseMatrix_setValues(Paso_SparseMatrix*,double);  void Paso_SparseMatrix_setValues(Paso_SparseMatrix*,double);
81  void Paso_SparseMatrix_saveMM_CSC(Paso_SparseMatrix *, FILE *);  void Paso_SparseMatrix_saveMM_CSC(Paso_SparseMatrix *, FILE *);
82  void  Paso_SparseMatrix_MatrixVector_CSR_OFFSET0_stripe(double alpha, dim_t nRows, dim_t row_block_size, dim_t col_block_size, index_t* ptr, index_t* index, double* val, double* in, double beta, double* out);  void  Paso_SparseMatrix_MatrixVector_CSR_OFFSET0_stripe(const double alpha, const dim_t nRows, const dim_t row_block_size, const dim_t col_block_size, const index_t* ptr, const index_t* index, const double* val, const double* in, const double beta, double* out);
83    
84    
85  /*  /*

Legend:
Removed from v.1564  
changed lines
  Added in v.1639

  ViewVC Help
Powered by ViewVC 1.1.26