Access proxy for a specific element of the sparse submatrix.
More...
#include <SparseSubmatrix.h>
Inherits blaze::SparseElement.
|
enum | { returnConst = IsConst<MatrixType>::value
} |
| Compilation switch for the return type of the value member function. More...
|
|
typedef std::iterator_traits
< IteratorType >::value_type | SET |
| Type of the underlying sparse elements.
|
|
typedef SET::Reference | RT |
| Reference type of the underlying sparse element.
|
|
typedef SET::ConstReference | CRT |
| Reference-to-const type of the underlying sparse element.
|
|
|
IteratorType | pos_ |
| Iterator to the current position within the sparse submatrix.
|
|
size_t | offset_ |
| Offset within the according row/column of the sparse matrix.
|
|
template<typename, bool, bool>
template<typename MatrixType, typename IteratorType>
class blaze::SparseSubmatrix< typename, bool, bool >::SubmatrixElement< MatrixType, IteratorType >
Access proxy for a specific element of the sparse submatrix.
template<typename , bool , bool >
template<typename MatrixType , typename IteratorType >
Compilation switch for the return type of the value member function.
The returnConst compile time constant expression represents a compilation switch for the return type of the value member function. In case the given matrix type MatrixType is const qualified, returnConst will be set to 1 and the value member function will return a reference to const. Otherwise returnConst will be set to 0 and the value member function will offer write access to the sparse matrix elements.
template<typename , bool , bool >
template<typename MatrixType , typename IteratorType >
Constructor for the SubmatrixElement class.
- Parameters
-
pos | Iterator to the current position within the sparse submatrix. |
offset | The offset within the according row/column of the sparse matrix. |
template<typename , bool , bool >
template<typename MatrixType , typename IteratorType >
Access to the current index of the sparse element.
- Returns
- The current index of the sparse element.
template<typename , bool , bool >
template<typename MatrixType , typename IteratorType >
template<typename T >
Multiplication assignment to the accessed sparse submatrix element.
- Parameters
-
v | The right-hand side value for the multiplication. |
- Returns
- Reference to the sparse submatrix element.
template<typename , bool , bool >
template<typename MatrixType , typename IteratorType >
template<typename T >
Addition assignment to the accessed sparse submatrix element.
- Parameters
-
v | The right-hand side value for the addition. |
- Returns
- Reference to the sparse submatrix element.
template<typename , bool , bool >
template<typename MatrixType , typename IteratorType >
template<typename T >
Subtraction assignment to the accessed sparse submatrix element.
- Parameters
-
v | The right-hand side value for the subtraction. |
- Returns
- Reference to the sparse submatrix element.
template<typename , bool , bool >
template<typename MatrixType , typename IteratorType >
Direct access to the sparse submatrix element at the current iterator position.
- Returns
- Reference to the sparse submatrix element at the current iterator position.
template<typename , bool , bool >
template<typename MatrixType , typename IteratorType >
template<typename T >
Division assignment to the accessed sparse submatrix element.
- Parameters
-
v | The right-hand side value for the division. |
- Returns
- Reference to the sparse submatrix element.
template<typename , bool , bool >
template<typename MatrixType , typename IteratorType >
template<typename T >
Assignment to the accessed sparse submatrix element.
- Parameters
-
v | The new value of the sparse submatrix element. |
- Returns
- Reference to the sparse submatrix element.
template<typename , bool , bool >
template<typename MatrixType , typename IteratorType >
Access to the current value of the sparse submatrix element.
- Returns
- The current value of the sparse submatrix element.
The documentation for this class was generated from the following file: