|
template<typename MT > |
void | blaze::reset (const StrictlyUpperProxy< MT > &proxy) |
| Resetting the represented element to the default initial values. More...
|
|
template<typename MT > |
void | blaze::clear (const StrictlyUpperProxy< MT > &proxy) |
| Clearing the represented element. More...
|
|
template<typename MT > |
bool | blaze::isDefault (const StrictlyUpperProxy< MT > &proxy) |
| Returns whether the represented element is in default state. More...
|
|
template<typename MT > |
bool | blaze::isReal (const StrictlyUpperProxy< MT > &proxy) |
| Returns whether the matrix element represents a real number. More...
|
|
template<typename MT > |
bool | blaze::isZero (const StrictlyUpperProxy< MT > &proxy) |
| Returns whether the represented element is 0. More...
|
|
template<typename MT > |
bool | blaze::isOne (const StrictlyUpperProxy< MT > &proxy) |
| Returns whether the represented element is 1. More...
|
|
template<typename MT > |
bool | blaze::isnan (const StrictlyUpperProxy< MT > &proxy) |
| Returns whether the represented element is not a number. More...
|
|
|
template<typename MT , bool SO, bool DF> |
void | blaze::reset (StrictlyUpperMatrix< MT, SO, DF > &m) |
| Resetting the given strictly upper matrix. More...
|
|
template<typename MT , bool SO, bool DF> |
void | blaze::reset (StrictlyUpperMatrix< MT, SO, DF > &m, size_t i) |
| Resetting the specified row/column of the given strictly upper matrix. More...
|
|
template<typename MT , bool SO, bool DF> |
void | blaze::clear (StrictlyUpperMatrix< MT, SO, DF > &m) |
| Clearing the given strictly upper matrix. More...
|
|
template<typename MT , bool SO, bool DF> |
bool | blaze::isDefault (const StrictlyUpperMatrix< MT, SO, DF > &m) |
| Returns whether the given strictly upper matrix is in default state. More...
|
|
template<typename MT , bool SO, bool DF> |
bool | blaze::isIntact (const StrictlyUpperMatrix< MT, SO, DF > &m) |
| Returns whether the invariants of the given strictly upper matrix are intact. More...
|
|
template<typename MT , bool SO, bool DF> |
void | blaze::swap (StrictlyUpperMatrix< MT, SO, DF > &a, StrictlyUpperMatrix< 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 strictly upper matrix are intact.
- Parameters
-
m | The strictly upper 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 strictly upper 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:
StrictlyUpperMatrix< DynamicMatrix<int> > A;
template<typename MT , bool SO, bool DF>
Resetting the specified row/column of the given strictly upper matrix.
- Parameters
-
m | The strictly upper 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 strictly upper 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.