42 #ifndef MATRIX_CONVERT_TO_SPARSE_ENCAP_H
43 #define MATRIX_CONVERT_TO_SPARSE_ENCAP_H
45 #include "AbstractLinAlgPack_MatrixConvertToSparse.hpp"
48 namespace AbstractLinAlgPack {
85 ,
const value_type
alpha = 1.0
101 ,
const value_type
alpha = 1.0
128 const value_type
alpha()
const;
140 size_type
rows()
const;
142 size_type
cols()
const;
144 size_type
nz()
const;
161 ,
const index_type len_Aval
163 ,
const index_type len_Aij
166 ,
const index_type row_offset
167 ,
const index_type col_offset
176 #ifdef DOXYGEN_COMPILE
213 return inv_row_perm_;
226 return inv_col_perm_;
250 #endif // MATRIX_CONVERT_TO_SPARSE_ENCAP_H
const value_type alpha() const
const mese_ptr_t & mese() const
void set_uninitialized()
Set uninitialized.
const i_vector_ptr_t & inv_row_perm() const
const VectorSpace & space_rows() const
index_type num_nonzeros(EExtractRegion extract_region, EElementUniqueness element_uniqueness) const
const Range1D & row_rng() const
const i_vector_ptr_t & inv_col_perm() const
const BLAS_Cpp::Transp mese_trans() const
Teuchos::RCP< const MatrixExtractSparseElements > mese_ptr_t
Teuchos::RCP< const IVector > i_vector_ptr_t
Abstract interface for objects that represent a space for mutable coordinate vectors.
Mix-in interface for extracing explicit elements from a sparse matrix in one of several Fortran compa...
void coor_extract_nonzeros(EExtractRegion extract_region, EElementUniqueness element_uniqueness, const index_type len_Aval, value_type Aval[], const index_type len_Aij, index_type Arow[], index_type Acol[], const index_type row_offset, const index_type col_offset) const
MatrixConvertToSparseEncap()
Construct to uninitialized.
const VectorSpace & space_cols() const
const Range1D & col_rng() const
void initialize(const mese_ptr_t &mese, const i_vector_ptr_t &inv_row_perm, const Range1D &row_rng, const i_vector_ptr_t &inv_col_perm, const Range1D &col_rng, const BLAS_Cpp::Transp mese_trans, const value_type alpha=1.0)
Initialize a permuted view of a sparse matrix.
Sparse conversion subclass based on views of a MatrixExtractSparseElements object.