44 #include "AbstractLinAlgPack_MatrixExtractSparseElements.hpp"
46 namespace AbstractLinAlgPack {
57 get_dl_du(extract_region,&dl,&du);
65 ,
const index_type len_Aval
67 ,
const index_type len_Aij
70 ,
const index_type row_offset
71 ,
const index_type col_offset
75 get_dl_du(extract_region, &dl, &du);
80 ,len_Aval,Aval,len_Aij,Arow,Acol,row_offset,col_offset);
85 void MatrixExtractSparseElements::get_dl_du(
86 EExtractRegion extract_region, index_type* dl, index_type* du
92 switch(extract_region) {
Extract the nonzero elements from the full matrix.
virtual size_type cols() const
Return the number of columns in the matrix.
Extract the nonzero elements from the lower triangular region including the diagonal.
virtual size_type rows() const
Return the number of rows in the matrix.
#define TEUCHOS_TEST_FOR_EXCEPT(throw_exception_test)
Extract the nonzero elements from the upper triangular region including the diagonal.