|
template<typename MT > |
ConjExprTrait< typename UpperProxy< MT >::RepresentedType >::Type | blaze::conj (const UpperProxy< MT > &proxy) |
| Computing the complex conjugate of the represented element. More...
|
|
template<typename MT > |
void | blaze::reset (const UpperProxy< MT > &proxy) |
| Resetting the represented element to the default initial values. More...
|
|
template<typename MT > |
void | blaze::clear (const UpperProxy< MT > &proxy) |
| Clearing the represented element. More...
|
|
template<typename MT > |
bool | blaze::isDefault (const UpperProxy< MT > &proxy) |
| Returns whether the represented element is in default state. More...
|
|
template<typename MT > |
bool | blaze::isReal (const UpperProxy< MT > &proxy) |
| Returns whether the matrix element represents a real number. More...
|
|
template<typename MT > |
bool | blaze::isZero (const UpperProxy< MT > &proxy) |
| Returns whether the represented element is 0. More...
|
|
template<typename MT > |
bool | blaze::isOne (const UpperProxy< MT > &proxy) |
| Returns whether the represented element is 1. More...
|
|
template<typename MT > |
bool | blaze::isnan (const UpperProxy< MT > &proxy) |
| Returns whether the represented element is not a number. More...
|
|
|
template<typename MT , bool SO, bool DF> |
void | blaze::reset (UpperMatrix< MT, SO, DF > &m) |
| Resetting the given upper matrix. More...
|
|
template<typename MT , bool SO, bool DF> |
void | blaze::reset (UpperMatrix< MT, SO, DF > &m, size_t i) |
| Resetting the specified row/column of the given upper matrix. More...
|
|
template<typename MT , bool SO, bool DF> |
void | blaze::clear (UpperMatrix< MT, SO, DF > &m) |
| Clearing the given upper matrix. More...
|
|
template<typename MT , bool SO, bool DF> |
bool | blaze::isDefault (const UpperMatrix< MT, SO, DF > &m) |
| Returns whether the given upper matrix is in default state. More...
|
|
template<typename MT , bool SO, bool DF> |
void | blaze::swap (UpperMatrix< MT, SO, DF > &a, UpperMatrix< MT, SO, DF > &b) |
| Swapping the contents of two matrices. More...
|
|
template<typename MT , bool SO, bool DF> |
bool | blaze::isIntact (const UpperMatrix< MT, SO, DF > &m) |
| Returns whether the invariants of the given lower matrix are intact. More...
|
|
template<typename MT , bool SO, bool DF>
bool blaze::isDefault |
( |
const UpperMatrix< MT, SO, DF > & |
m | ) |
|
|
inline |
Returns whether the given upper matrix is in default state.
- Parameters
-
m | The upper matrix to be tested for its default state. |
- Returns
- true in case the given matrix is component-wise zero, false otherwise.
This function checks whether the matrix is in default state. For instance, in case the matrix is instantiated for a built-in integral or floating point data type, the function returns true in case all matrix elements are 0 and false in case any matrix element is not 0. The following example demonstrates the use of the isDefault function:
UpperMatrix< DynamicMatrix<int> > A;
template<typename MT , bool SO, bool DF>
bool blaze::isIntact |
( |
const UpperMatrix< MT, SO, DF > & |
m | ) |
|
|
inline |
Returns whether the invariants of the given lower matrix are intact.
- Parameters
-
m | The lower 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 lower 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:
UpperMatrix< DynamicMatrix<int> > A;
template<typename MT , bool SO, bool DF>
Resetting the specified row/column of the given upper matrix.
- Parameters
-
m | The 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 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.