MOOCHO (Single Doxygen Collection)
Version of the Day
|
Class for a partition or a set of continous partitions in a partitioned COO matrix. More...
#include <AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp>
Private Member Functions | |
void | assert_initialized () const |
Partition & | operator= (const Partition &) |
Private Attributes | |
size_type | rows_ |
size_type | cols_ |
size_type | nz_ |
element_type * | ele_ |
difference_type | row_offset_ |
difference_type | col_offset_ |
Public types | |
typedef AbstractLinAlgPack::size_type | size_type |
typedef Partition< T_Indice, T_Value > | partition_type |
typedef ptrdiff_t | difference_type |
typedef SparseCOOPtrElement < T_Indice, T_Value > | element_type |
typedef element_type * | iterator |
typedef const element_type * | const_iterator |
Constructors and initializes | |
The default copy constructor is allowed since it has the proper sematics. | |
Partition () | |
Constructs an uninitialized partition view. More... | |
Partition (size_type rows, size_type cols, size_type nz, element_type *ele, difference_type row_offset, difference_type col_offset) | |
Construct with the COO matrix initialized. More... | |
void | initialize (size_type rows, size_type cols, size_type nz, element_type *ele, difference_type row_offset, difference_type col_offset) |
Initialize the COO matrix. More... | |
void | bind (const partition_type &partition) |
bind to a partion. More... | |
COOMatrixTemplateInterface interface | |
size_type | rows () const |
size_type | cols () const |
size_type | nz () const |
difference_type | row_offset () const |
difference_type | col_offset () const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
Class for a partition or a set of continous partitions in a partitioned COO matrix.
This class represents the abstraction of the submatrx or submatrices in a partion or a set of continous partitions in a COO matrix.
Its interface conforms to the template specification COOMatrixTemplateInterface so that it can be used with all of the linear algebra functions defined for that interface.
Definition at line 52 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
typedef AbstractLinAlgPack::size_type AbstractLinAlgPack::COOMatrixPartitionedViewUtilityPack::Partition< T_Indice, T_Value >::size_type |
Definition at line 640 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
typedef Partition<T_Indice,T_Value> AbstractLinAlgPack::COOMatrixPartitionedViewUtilityPack::Partition< T_Indice, T_Value >::partition_type |
Definition at line 642 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
typedef ptrdiff_t AbstractLinAlgPack::COOMatrixPartitionedViewUtilityPack::Partition< T_Indice, T_Value >::difference_type |
Definition at line 644 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
typedef SparseCOOPtrElement<T_Indice,T_Value> AbstractLinAlgPack::COOMatrixPartitionedViewUtilityPack::Partition< T_Indice, T_Value >::element_type |
Definition at line 646 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
typedef element_type* AbstractLinAlgPack::COOMatrixPartitionedViewUtilityPack::Partition< T_Indice, T_Value >::iterator |
Definition at line 648 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
typedef const element_type* AbstractLinAlgPack::COOMatrixPartitionedViewUtilityPack::Partition< T_Indice, T_Value >::const_iterator |
Definition at line 650 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
inline |
Constructs an uninitialized partition view.
Postconditions:{itemize} rows() == 0# cols() == 0# nz() == 0# row_offset() == 0# col_offset() == 0# {itemize}
Definition at line 913 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
inline |
Construct with the COO matrix initialized.
Equivalent to calling the default constructor and initialize(...)#.
Definition at line 918 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
inline |
Initialize the COO matrix.
rows | number of rows in the submatrix |
cols | number of columns in the submatrix |
nz | number of nonzero elements in the submatrix |
ele | pointer to the array of nonzero elements in the submatrix |
row_offset | offset for each nonzero row indice in #ele#. i = #ele#[...].row_i + row_offset# |
row_offset | offset for each nonzero column indice in #ele#. j = #ele#[...].col_j + col_offset# |
Definition at line 930 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
inline |
bind to a partion.
ToDo: finish documentation for this function
Definition at line 947 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
inline |
Definition at line 956 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
inline |
Definition at line 963 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
inline |
Definition at line 970 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
inline |
Definition at line 977 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
inline |
Definition at line 984 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
inline |
Definition at line 991 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
inline |
Definition at line 999 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
inline |
Definition at line 1007 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
inline |
Definition at line 1015 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
inlineprivate |
Definition at line 1024 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
private |
|
private |
Definition at line 750 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
private |
Definition at line 750 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
private |
Definition at line 750 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
private |
Definition at line 753 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
private |
Definition at line 754 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
private |
Definition at line 754 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.