|
template<typename MT , bool AF, bool SO> |
void | blaze::reset (SparseSubmatrix< MT, AF, SO > &sm) |
| Resetting the given sparse submatrix. More...
|
|
template<typename MT , bool AF, bool SO> |
void | blaze::reset (SparseSubmatrix< MT, AF, SO > &sm, size_t i) |
| Reset the specified row/column of the given sparse submatrix. More...
|
|
template<typename MT , bool AF, bool SO> |
void | blaze::clear (SparseSubmatrix< MT, AF, SO > &sm) |
| Clearing the given sparse matrix. More...
|
|
template<typename MT , bool AF, bool SO> |
bool | blaze::isDefault (const SparseSubmatrix< MT, AF, SO > &sm) |
| Returns whether the given sparse submatrix is in default state. More...
|
|
template<typename MT , bool AF, bool SO> |
bool | blaze::isSymmetric (const SparseSubmatrix< MT, AF, SO > &sm) |
| Checks if the given sparse submatrix is symmetric. More...
|
|
template<typename MT , bool AF, bool SO> |
bool | blaze::isLower (const SparseSubmatrix< MT, AF, SO > &sm) |
| Checks if the given sparse submatrix is a lower triangular matrix. More...
|
|
template<typename MT , bool AF, bool SO> |
bool | blaze::isUpper (const SparseSubmatrix< MT, AF, SO > &sm) |
| Checks if the given sparse submatrix is an upper triangular matrix. More...
|
|
template<typename MT , bool AF, bool SO> |
bool | blaze::isSame (const SparseSubmatrix< MT, AF, SO > &a, const SparseMatrix< MT, SO > &b) |
| Returns whether the given sparse matrix and submatrix represent the same observable state. More...
|
|
template<typename MT , bool AF, bool SO> |
bool | blaze::isSame (const SparseMatrix< MT, SO > &a, const SparseSubmatrix< MT, AF, SO > &b) |
| Returns whether the given sparse matrix and submatrix represent the same observable state. More...
|
|
template<typename MT , bool AF, bool SO> |
bool | blaze::isSame (const SparseSubmatrix< MT, AF, SO > &a, const SparseSubmatrix< MT, AF, SO > &b) |
| Returns whether the two given submatrices represent the same observable state. More...
|
|
template<typename MT, bool AF = unaligned, bool SO = IsColumnMajorMatrix<MT>::value>
Compilation switch for the non-const reference and iterator types.
The useConst compile time constant expression represents a compilation switch for the non-const reference and iterator types. In case the given sparse matrix of type MT is const qualified, useConst will be set to 1 and the sparse submatrix will return references and iterators to const. Otherwise useConst will be set to 0 and the sparse submatrix will offer write access to the sparse matrix elements both via the function call operator and iterators.
template<typename MT, bool AF = unaligned, bool SO = IsColumnMajorMatrix<MT>::value>
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 MT , bool AF, bool SO>
Returns whether the given sparse matrix and submatrix represent the same observable state.
- Parameters
-
a | The sparse submatrix to be tested for its state. |
b | The sparse matrix to be tested for its state. |
- Returns
- true in case the sparse submatrix and matrix share a state, false otherwise.
This overload of the isSame function tests if the given submatrix refers to the full given sparse matrix and by that represents the same observable state. In this case, the function returns true, otherwise it returns false.
template<typename MT , bool AF, bool SO>
Returns whether the given sparse matrix and submatrix represent the same observable state.
- Parameters
-
a | The sparse matrix to be tested for its state. |
b | The sparse submatrix to be tested for its state. |
- Returns
- true in case the sparse matrix and submatrix share a state, false otherwise.
This overload of the isSame function tests if the given submatrix refers to the full given sparse matrix and by that represents the same observable state. In this case, the function returns true, otherwise it returns false.
template<typename MT , bool AF, bool SO>
Returns whether the two given submatrices represent the same observable state.
- Parameters
-
a | The first sparse submatrix to be tested for its state. |
b | The second sparse submatrix to be tested for its state. |
- Returns
- true in case the two submatrices share a state, false otherwise.
This overload of the isSame function tests if the two given submatrices refer to exactly the same part of the same sparse matrix. In case both submatrices represent the same observable state, the function returns true, otherwise it returns false.