|
class | blaze::UniLowerMatrix< MT, SO, DF > |
| Matrix adapter for lower unitriangular matrices. More...
|
|
class | blaze::UniLowerElement< MT > |
| Representation of an element within a sparse lower unitriangular matrix.The UniLowerElement class represents an element (i.e. value/index pair) within a sparse lower unitriangular matrix. It guarantees that the unilower matrix invariant is not violated, i.e. that elements in the upper part of the matrix remain 0 and the diagonal elements remain 1. The following example illustrates this by means of a sparse lower unitriangular matrix: More...
|
|
class | blaze::UniLowerProxy< MT > |
| Access proxy for lower unitriangular matrices.The UniLowerProxy provides controlled access to the elements of a non-const lower unitriangular matrix. It guarantees that the unilower matrix invariant is not violated, i.e. that elements in the upper part of the matrix remain 0 and the diagonal elements remain 1. The following example illustrates this by means of a dense lower unitriangular matrix: More...
|
|
class | blaze::UniLowerValue< MT > |
| Representation of a value within a sparse lower unitriangular matrix.The UniLowerValue class represents a single value within a sparse lower unitriangular matrix. It guarantees that the unilower matrix invariant is not violated, i.e. that elements in the upper part of the matrix remain 0 and the diagonal elements remain 1. The following example illustrates this by means of a sparse lower unitriangular matrix: More...
|
|
|
template<typename MT > |
void | blaze::reset (const UniLowerProxy< MT > &proxy) |
| Resetting the represented element to the default initial values. More...
|
|
template<typename MT > |
void | blaze::clear (const UniLowerProxy< MT > &proxy) |
| Clearing the represented element. More...
|
|
template<typename MT > |
void | blaze::invert (const UniLowerProxy< MT > &proxy) |
| In-place inversion of the represented element. More...
|
|
template<typename MT > |
bool | blaze::isDefault (const UniLowerProxy< MT > &proxy) |
| Returns whether the represented element is in default state. More...
|
|
template<typename MT > |
bool | blaze::isReal (const UniLowerProxy< MT > &proxy) |
| Returns whether the matrix element represents a real number. More...
|
|
template<typename MT > |
bool | blaze::isZero (const UniLowerProxy< MT > &proxy) |
| Returns whether the represented element is 0. More...
|
|
template<typename MT > |
bool | blaze::isOne (const UniLowerProxy< MT > &proxy) |
| Returns whether the represented element is 1. More...
|
|
template<typename MT > |
bool | blaze::isnan (const UniLowerProxy< MT > &proxy) |
| Returns whether the represented element is not a number. More...
|
|
|
template<typename MT > |
void | blaze::reset (const UniLowerValue< MT > &value) |
| Resetting the unilower value to the default initial values. More...
|
|
template<typename MT > |
void | blaze::clear (const UniLowerValue< MT > &value) |
| Clearing the unilower value. More...
|
|
template<typename MT > |
void | blaze::invert (const UniLowerValue< MT > &value) |
| In-place inversion of the unilower value. More...
|
|
template<typename MT > |
bool | blaze::isDefault (const UniLowerValue< MT > &value) |
| Returns whether the unilower value is in default state. More...
|
|
template<typename MT > |
bool | blaze::isReal (const UniLowerValue< MT > &value) |
| Returns whether the unilower value represents a real number. More...
|
|
template<typename MT > |
bool | blaze::isZero (const UniLowerValue< MT > &value) |
| Returns whether the unilower value is 0. More...
|
|
template<typename MT > |
bool | blaze::isOne (const UniLowerValue< MT > &value) |
| Returns whether the unilower value is 1. More...
|
|
template<typename MT > |
bool | blaze::isnan (const UniLowerValue< MT > &value) |
| Returns whether the unilower value is not a number. More...
|
|
|
template<typename MT , bool SO, bool DF> |
void | blaze::reset (UniLowerMatrix< MT, SO, DF > &m) |
| Resetting the given unilower matrix. More...
|
|
template<typename MT , bool SO, bool DF> |
void | blaze::reset (UniLowerMatrix< MT, SO, DF > &m, size_t i) |
| Resetting the specified row/column of the given unilower matrix. More...
|
|
template<typename MT , bool SO, bool DF> |
void | blaze::clear (UniLowerMatrix< MT, SO, DF > &m) |
| Clearing the given unilower matrix. More...
|
|
template<typename MT , bool SO, bool DF> |
bool | blaze::isDefault (const UniLowerMatrix< MT, SO, DF > &m) |
| Returns whether the given unilower matrix is in default state. More...
|
|
template<typename MT , bool SO, bool DF> |
bool | blaze::isIntact (const UniLowerMatrix< MT, SO, DF > &m) |
| Returns whether the invariants of the given unilower matrix are intact. More...
|
|
template<typename MT , bool SO, bool DF> |
void | blaze::swap (UniLowerMatrix< MT, SO, DF > &a, UniLowerMatrix< MT, SO, DF > &b) noexcept |
| Swapping the contents of two matrices. More...
|
|
template<typename MT , bool SO, bool DF>
Returns whether the invariants of the given unilower matrix are intact.
- Parameters
-
m | The unilower matrix to be tested. |
- Returns
- true in case the given matrix's invariants are intact, false otherwise.
This function checks whether the invariants of the unilower matrix 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:
UniLowerMatrix< DynamicMatrix<int> > A;
template<typename MT , bool SO, bool DF>
Resetting the specified row/column of the given unilower matrix.
- Parameters
-
m | The unilower matrix to be resetted. |
i | The index of the row/column to be resetted. |
- Returns
- void
This function resets the values in the specified row/column of the given unilower matrix to their default value. In case the given matrix 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.