AbstractLinAlgPack::MatrixConvertToSparseEncap Class Reference

Sparse conversion subclass based on views of a MatrixExtractSparseElements object. More...

#include <AbstractLinAlgPack_MatrixConvertToSparseEncap.hpp>

Inheritance diagram for AbstractLinAlgPack::MatrixConvertToSparseEncap:

[legend]
List of all members.

Public types

typedef Teuchos::RefCountPtr<
const MatrixExtractSparseElements
mese_ptr_t
 
typedef Teuchos::RefCountPtr<
const IVector > 
i_vector_ptr_t
 

Constructors/initializers

 MatrixConvertToSparseEncap ()
 Construct to uninitialized.
 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().
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.
void set_uninitialized ()
 Set uninitialized.

Access

const mese_ptr_tmese () const
 
const i_vector_ptr_tinv_row_perm () const
 
const Range1Drow_rng () const
 
const i_vector_ptr_tinv_col_perm () const
 
const Range1Dcol_rng () const
 
const BLAS_Cpp::Transp mese_trans () const
 
const value_type alpha () const
 

Overridden from MatrixBase

const VectorSpacespace_cols () const
 
const VectorSpacespace_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
 

Detailed Description

Sparse conversion subclass based on views of a MatrixExtractSparseElements object.

ToDo:Finish documentation!

Definition at line 41 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.hpp.


Member Typedef Documentation

typedef Teuchos::RefCountPtr<const MatrixExtractSparseElements> AbstractLinAlgPack::MatrixConvertToSparseEncap::mese_ptr_t
 

Definition at line 50 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.hpp.

typedef Teuchos::RefCountPtr<const IVector> AbstractLinAlgPack::MatrixConvertToSparseEncap::i_vector_ptr_t
 

Definition at line 52 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.hpp.


Constructor & Destructor Documentation

AbstractLinAlgPack::MatrixConvertToSparseEncap::MatrixConvertToSparseEncap  ) 
 

Construct to uninitialized.

Definition at line 41 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 49 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.


Member Function Documentation

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 62 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.

void AbstractLinAlgPack::MatrixConvertToSparseEncap::set_uninitialized  ) 
 

Set uninitialized.

ToDo: Finish documentation!

Definition at line 99 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
 

const BLAS_Cpp::Transp AbstractLinAlgPack::MatrixConvertToSparseEncap::mese_trans  )  const [inline]
 

Definition at line 224 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.hpp.

const value_type AbstractLinAlgPack::MatrixConvertToSparseEncap::alpha  )  const [inline]
 

Definition at line 230 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.hpp.

const VectorSpace & AbstractLinAlgPack::MatrixConvertToSparseEncap::space_cols  )  const [virtual]
 

Implements AbstractLinAlgPack::MatrixBase.

Definition at line 114 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.

const VectorSpace & AbstractLinAlgPack::MatrixConvertToSparseEncap::space_rows  )  const [virtual]
 

Implements AbstractLinAlgPack::MatrixBase.

Definition at line 119 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.

size_type AbstractLinAlgPack::MatrixConvertToSparseEncap::rows  )  const [virtual]
 

Reimplemented from AbstractLinAlgPack::MatrixBase.

Definition at line 124 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.

size_type AbstractLinAlgPack::MatrixConvertToSparseEncap::cols  )  const [virtual]
 

Reimplemented from AbstractLinAlgPack::MatrixBase.

Definition at line 129 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.

size_type AbstractLinAlgPack::MatrixConvertToSparseEncap::nz  )  const [virtual]
 

Reimplemented from AbstractLinAlgPack::MatrixBase.

Definition at line 134 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.

index_type AbstractLinAlgPack::MatrixConvertToSparseEncap::num_nonzeros EExtractRegion  extract_region,
EElementUniqueness  element_uniqueness
const [virtual]
 

Implements AbstractLinAlgPack::MatrixConvertToSparse.

Definition at line 141 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.

void AbstractLinAlgPack::MatrixConvertToSparseEncap::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 [virtual]
 

Implements AbstractLinAlgPack::MatrixConvertToSparse.

Definition at line 185 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:33:55 2008 for AbstractLinAlgPack: C++ Interfaces For Vectors, Matrices And Related Linear Algebra Objects by doxygen 1.3.9.1