![]() |
Classes | |
class | blaze::DenseSubmatrix< MT, AF, SO >::SubmatrixIterator< IteratorType > |
Iterator over the elements of the sparse submatrix. More... | |
class | blaze::DenseSubmatrix< MT, AF, SO > |
View on a specific submatrix of a dense matrix.The DenseSubmatrix template represents a view on a specific submatrix of a dense matrix primitive. The type of the dense matrix is specified via the first template parameter: More... | |
DenseSubmatrix operators | |
template<typename MT , bool AF, bool SO> | |
void | blaze::reset (DenseSubmatrix< MT, AF, SO > &dm) |
Resetting the given dense submatrix. More... | |
template<typename MT , bool AF, bool SO> | |
void | blaze::reset (DenseSubmatrix< MT, AF, SO > &dm, size_t i) |
Reset the specified row/column of the given dense submatrix. More... | |
template<typename MT , bool AF, bool SO> | |
void | blaze::clear (DenseSubmatrix< MT, AF, SO > &dm) |
Clearing the given dense matrix. More... | |
template<typename MT , bool AF, bool SO> | |
bool | blaze::isDefault (const DenseSubmatrix< MT, AF, SO > &dm) |
Returns whether the given dense submatrix is in default state. More... | |
template<typename MT , bool AF, bool SO> | |
bool | blaze::isIntact (const DenseSubmatrix< MT, AF, SO > &dm) |
Returns whether the invariants of the given dense submatrix are intact. More... | |
template<typename MT , bool AF, bool SO> | |
bool | blaze::isSymmetric (const DenseSubmatrix< MT, AF, SO > &dm) |
Checks if the given dense submatrix is symmetric. More... | |
template<typename MT , bool AF, bool SO> | |
bool | blaze::isHermitian (const DenseSubmatrix< MT, AF, SO > &dm) |
Checks if the given dense submatrix is Hermitian. More... | |
template<typename MT , bool AF, bool SO> | |
bool | blaze::isLower (const DenseSubmatrix< MT, AF, SO > &dm) |
Checks if the given dense submatrix is a lower triangular matrix. More... | |
template<typename MT , bool AF, bool SO> | |
bool | blaze::isUniLower (const DenseSubmatrix< MT, AF, SO > &dm) |
Checks if the given dense submatrix is a lower unitriangular matrix. More... | |
template<typename MT , bool AF, bool SO> | |
bool | blaze::isStrictlyLower (const DenseSubmatrix< MT, AF, SO > &dm) |
Checks if the given dense submatrix is a strictly lower triangular matrix. More... | |
template<typename MT , bool AF, bool SO> | |
bool | blaze::isUpper (const DenseSubmatrix< MT, AF, SO > &dm) |
Checks if the given dense submatrix is an upper triangular matrix. More... | |
template<typename MT , bool AF, bool SO> | |
bool | blaze::isUniUpper (const DenseSubmatrix< MT, AF, SO > &dm) |
Checks if the given dense submatrix is an upper unitriangular matrix. More... | |
template<typename MT , bool AF, bool SO> | |
bool | blaze::isStrictlyUpper (const DenseSubmatrix< MT, AF, SO > &dm) |
Checks if the given dense submatrix is a strictly upper triangular matrix. More... | |
template<typename MT , bool AF, bool SO> | |
bool | blaze::isSame (const DenseSubmatrix< MT, AF, SO > &a, const DenseMatrix< MT, SO > &b) |
Returns whether the given dense matrix and submatrix represent the same observable state. More... | |
template<typename MT , bool AF, bool SO> | |
bool | blaze::isSame (const DenseMatrix< MT, SO > &a, const DenseSubmatrix< MT, AF, SO > &b) |
Returns whether the given dense matrix and submatrix represent the same observable state. More... | |
template<typename MT , bool AF, bool SO> | |
bool | blaze::isSame (const DenseSubmatrix< MT, AF, SO > &a, const DenseSubmatrix< MT, AF, SO > &b) |
Returns whether the two given submatrices represent the same observable state. More... | |
|
inline |
Clearing the given dense matrix.
dm | The dense matrix to be cleared. |
Clearing a dense submatrix is equivalent to resetting it via the reset() function.
|
inline |
Returns whether the given dense submatrix is in default state.
dm | The dense submatrix to be tested for its default state. |
This function checks whether the submatrix is in default state. For instance, in case the submatrix is instantiated for a built-in integral or floating point data type, the function returns true in case all submatrix elements are 0 and false in case any submatrix element is not 0. The following example demonstrates the use of the isDefault function:
|
inline |
Checks if the given dense submatrix is Hermitian.
dm | The dense submatrix to be checked. |
This function checks if the given dense submatrix is Hermitian. The submatrix is considered to be Hermitian if it is a square matrix whose transpose is equal to its conjugate transpose ( ). The following code example demonstrates the use of the function:
|
inline |
Returns whether the invariants of the given dense submatrix are intact.
dm | The dense submatrix to be tested. |
This function checks whether the invariants of the dense submatrix are intact, i.e. if its state is valid. In case the invariants are intact, the function returns true, else it will return false. The following example demonstrates the use of the isIntact() function:
|
inline |
Checks if the given dense submatrix is a lower triangular matrix.
dm | The dense submatrix to be checked. |
This function checks if the given dense submatrix is a lower triangular matrix. The matrix is considered to be lower triangular if it is a square matrix of the form
or
matrices are considered as trivially lower triangular. The following code example demonstrates the use of the function:
|
inline |
Returns whether the given dense matrix and submatrix represent the same observable state.
a | The dense submatrix to be tested for its state. |
b | The dense matrix to be tested for its state. |
This overload of the isSame function tests if the given submatrix refers to the full given dense matrix and by that represents the same observable state. In this case, the function returns true, otherwise it returns false.
|
inline |
Returns whether the given dense matrix and submatrix represent the same observable state.
a | The dense matrix to be tested for its state. |
b | The dense submatrix to be tested for its state. |
This overload of the isSame function tests if the given submatrix refers to the full given dense matrix and by that represents the same observable state. In this case, the function returns true, otherwise it returns false.
|
inline |
Returns whether the two given submatrices represent the same observable state.
a | The first dense submatrix to be tested for its state. |
b | The second dense submatrix to be tested for its state. |
This overload of the isSame function tests if the two given submatrices refer to exactly the same part of the same dense matrix. In case both submatrices represent the same observable state, the function returns true, otherwise it returns false.
|
inline |
Checks if the given dense submatrix is a strictly lower triangular matrix.
dm | The dense submatrix to be checked. |
This function checks if the given dense submatrix is a strictly lower triangular matrix. The matrix is considered to be lower triangular if it is a square matrix of the form
The following code example demonstrates the use of the function:
|
inline |
Checks if the given dense submatrix is a strictly upper triangular matrix.
dm | The dense submatrix to be checked. |
This function checks if the given sparse submatrix is a strictly upper triangular matrix. The matrix is considered to be upper triangular if it is a square matrix of the form
The following code example demonstrates the use of the function:
|
inline |
Checks if the given dense submatrix is symmetric.
dm | The dense submatrix to be checked. |
This function checks if the given dense submatrix is symmetric. The submatrix is considered to be symmetric if it is a square matrix whose transpose is equal to itself ( ). The following code example demonstrates the use of the function:
|
inline |
Checks if the given dense submatrix is a lower unitriangular matrix.
dm | The dense submatrix to be checked. |
This function checks if the given dense submatrix is a lower unitriangular matrix. The matrix is considered to be lower triangular if it is a square matrix of the form
The following code example demonstrates the use of the function:
|
inline |
Checks if the given dense submatrix is an upper unitriangular matrix.
dm | The dense submatrix to be checked. |
This function checks if the given sparse submatrix is an upper triangular matrix. The matrix is considered to be upper triangular if it is a square matrix of the form
The following code example demonstrates the use of the function:
|
inline |
Checks if the given dense submatrix is an upper triangular matrix.
dm | The dense submatrix to be checked. |
This function checks if the given sparse submatrix is an upper triangular matrix. The matrix is considered to be upper triangular if it is a square matrix of the form
or
matrices are considered as trivially upper triangular. The following code example demonstrates the use of the function:
|
inline |
Resetting the given dense submatrix.
dm | The dense submatrix to be resetted. |
|
inline |
Reset the specified row/column of the given dense submatrix.
dm | The dense submatrix to be resetted. |
i | The index of the row/column to be resetted. |
This function resets the values in the specified row/column of the given dense submatrix to their default value. In case the given submatrix is a rowMajor matrix the function resets the values in row i, if it is a columnMajor matrix the function resets the values in column i. Note that the capacity of the row/column remains unchanged.