AbstractLinAlgPack: C++ Interfaces For Vectors, Matrices And Related Linear Algebra Objects
Version of the Day
|
Sparse conversion subclass based on views of a MatrixExtractSparseElements
object.
More...
#include <AbstractLinAlgPack_MatrixConvertToSparseEncap.hpp>
Public types | |
typedef Teuchos::RCP< const MatrixExtractSparseElements > | mese_ptr_t |
typedef Teuchos::RCP< const IVector > | i_vector_ptr_t |
Constructors/initializers | |
MatrixConvertToSparseEncap () | |
Construct to uninitialized. More... | |
MatrixConvertToSparseEncap (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) | |
Calls this->initialize() . More... | |
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. More... | |
void | set_uninitialized () |
Set uninitialized. More... | |
Access | |
const mese_ptr_t & | mese () const |
const i_vector_ptr_t & | inv_row_perm () const |
const Range1D & | row_rng () const |
const i_vector_ptr_t & | inv_col_perm () const |
const Range1D & | col_rng () const |
const BLAS_Cpp::Transp | mese_trans () const |
const value_type | alpha () const |
Overridden from MatrixBase | |
const VectorSpace & | space_cols () const |
const VectorSpace & | space_rows () const |
size_type | rows () const |
size_type | cols () const |
size_type | nz () const |
Overridden from MatrixConvertToSparse | |
index_type | num_nonzeros (EExtractRegion extract_region, EElementUniqueness element_uniqueness) const |
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 |
Additional Inherited Members | |
Public Types inherited from AbstractLinAlgPack::MatrixConvertToSparse | |
enum | EExtractRegion { EXTRACT_FULL_MATRIX, EXTRACT_UPPER_TRIANGULAR, EXTRACT_LOWER_TRIANGULAR } |
enum | EElementUniqueness { ELEMENTS_FORCE_UNIQUE, ELEMENTS_ALLOW_DUPLICATES_SUM } |
Public Member Functions inherited from AbstractLinAlgPack::MatrixBase | |
virtual | ~MatrixBase () |
Virtual destructor. More... | |
Sparse conversion subclass based on views of a MatrixExtractSparseElements
object.
ToDo:Finish documentation!
Definition at line 54 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.hpp.
typedef Teuchos::RCP<const MatrixExtractSparseElements> AbstractLinAlgPack::MatrixConvertToSparseEncap::mese_ptr_t |
Definition at line 63 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.hpp.
typedef Teuchos::RCP<const IVector> AbstractLinAlgPack::MatrixConvertToSparseEncap::i_vector_ptr_t |
Definition at line 65 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.hpp.
AbstractLinAlgPack::MatrixConvertToSparseEncap::MatrixConvertToSparseEncap | ( | ) |
Construct to uninitialized.
Definition at line 54 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.
AbstractLinAlgPack::MatrixConvertToSparseEncap::MatrixConvertToSparseEncap | ( | 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 |
||
) |
Calls this->initialize()
.
Definition at line 62 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.
void AbstractLinAlgPack::MatrixConvertToSparseEncap::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.
A = alpha * op( (P'*B*Q)(row_rng,col_rng) )
ToDo: Finish documentation!
Definition at line 75 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.
void AbstractLinAlgPack::MatrixConvertToSparseEncap::set_uninitialized | ( | ) |
Set uninitialized.
ToDo: Finish documentation!
Definition at line 112 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.
const mese_ptr_t& AbstractLinAlgPack::MatrixConvertToSparseEncap::mese | ( | ) | const |
const i_vector_ptr_t& AbstractLinAlgPack::MatrixConvertToSparseEncap::inv_row_perm | ( | ) | const |
const Range1D& AbstractLinAlgPack::MatrixConvertToSparseEncap::row_rng | ( | ) | const |
const i_vector_ptr_t& AbstractLinAlgPack::MatrixConvertToSparseEncap::inv_col_perm | ( | ) | const |
const Range1D& AbstractLinAlgPack::MatrixConvertToSparseEncap::col_rng | ( | ) | const |
|
inline |
Definition at line 237 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.hpp.
|
inline |
Definition at line 243 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.hpp.
|
virtual |
Implements AbstractLinAlgPack::MatrixBase.
Definition at line 127 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.
|
virtual |
Implements AbstractLinAlgPack::MatrixBase.
Definition at line 132 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.
|
virtual |
Reimplemented from AbstractLinAlgPack::MatrixBase.
Definition at line 137 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.
|
virtual |
Reimplemented from AbstractLinAlgPack::MatrixBase.
Definition at line 142 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.
|
virtual |
Reimplemented from AbstractLinAlgPack::MatrixBase.
Definition at line 147 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.
|
virtual |
Implements AbstractLinAlgPack::MatrixConvertToSparse.
Definition at line 154 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.
|
virtual |
Implements AbstractLinAlgPack::MatrixConvertToSparse.
Definition at line 198 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.