AbstractLinAlgPack: C++ Interfaces For Vectors, Matrices And Related Linear Algebra Objects
Version of the Day
|
Class for the transpose of a Partition. More...
#include <AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp>
Public types | |
typedef Partition< T_Indice, T_Value > | partition_type |
typedef AbstractLinAlgPack::size_type | size_type |
typedef ptrdiff_t | difference_type |
typedef SparseCOOPtrElement < T_Indice, T_Value > | element_type |
typedef TransSparseCOOElementViewIter < element_type *, std::random_access_iterator_tag, typename element_type::indice_type, typename element_type::value_type &, difference_type > | iterator |
typedef TransSparseCOOElementViewIter < const element_type *, std::random_access_iterator_tag, typename element_type::indice_type, const typename element_type::value_type &, difference_type > | const_iterator |
Constructors and initializes | |
The default copy constructor is allowed since it has the proper sematics. | |
TransposedPartition (const partition_type &partition) | |
Construct with the partition initialized. 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 the transpose of a Partition.
This class represents the abstraction of the transpose of the matrix given by a Partition<> class.
Its interface conforms to the template specification COOMatrixTemplateInterface so that it can be used with all of the linear algebra functions defined for this interface.
This is a very light weight class and is just as efficient as Partition when used with templated linear algebra operations.
The default constructor is allowed in which case it is initialized to a default constructed partition object. Also to the default copy constructor is allowed. The default assignment operator however is not allowed since its meaning is a little confusing. When a client wants to copy the underlying partition, it should use the bind()# member function instead.
Definition at line 53 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
typedef Partition<T_Indice,T_Value> AbstractLinAlgPack::COOMatrixPartitionedViewUtilityPack::TransposedPartition< T_Indice, T_Value >::partition_type |
Definition at line 799 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
typedef AbstractLinAlgPack::size_type AbstractLinAlgPack::COOMatrixPartitionedViewUtilityPack::TransposedPartition< T_Indice, T_Value >::size_type |
Definition at line 801 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
typedef ptrdiff_t AbstractLinAlgPack::COOMatrixPartitionedViewUtilityPack::TransposedPartition< T_Indice, T_Value >::difference_type |
Definition at line 803 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
typedef SparseCOOPtrElement<T_Indice,T_Value> AbstractLinAlgPack::COOMatrixPartitionedViewUtilityPack::TransposedPartition< T_Indice, T_Value >::element_type |
Definition at line 805 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
typedef TransSparseCOOElementViewIter< element_type* , std::random_access_iterator_tag , typename element_type::indice_type , typename element_type::value_type& , difference_type> AbstractLinAlgPack::COOMatrixPartitionedViewUtilityPack::TransposedPartition< T_Indice, T_Value >::iterator |
Definition at line 812 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
typedef TransSparseCOOElementViewIter< const element_type* , std::random_access_iterator_tag , typename element_type::indice_type , const typename element_type::value_type& , difference_type> AbstractLinAlgPack::COOMatrixPartitionedViewUtilityPack::TransposedPartition< T_Indice, T_Value >::const_iterator |
Definition at line 819 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
inline |
Construct with the partition initialized.
ToDo: finish documentation for this function
Definition at line 1037 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
inline |
bind to a partion.
ToDo: finish documentation for this function
Definition at line 1042 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
inline |
Definition at line 1050 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
inline |
Definition at line 1057 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
inline |
Definition at line 1064 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
inline |
Definition at line 1071 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
inline |
Definition at line 1078 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
inline |
Definition at line 1085 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
inline |
Definition at line 1092 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
inline |
Definition at line 1099 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.
|
inline |
Definition at line 1106 of file AbstractLinAlgPack_COOMatrixPartitionedViewClassDecl.hpp.