![]() |
Classes | |
class | blaze::LowerMatrix< typename, bool, bool > |
Matrix adapter for lower triangular ![]() | |
class | blaze::LowerProxy< MT > |
Access proxy for lower triangular matrices.The LowerProxy provides controlled access to the elements of a non-const lower triangular matrix. It guarantees that the lower matrix invariant is not violated, i.e. that elements in the upper part of the matrix remain default values. The following example illustrates this by means of a ![]() | |
LowerProxy operators | |
template<typename MT1 , typename MT2 > | |
bool | blaze::operator== (const LowerProxy< MT1 > &lhs, const LowerProxy< MT2 > &rhs) |
Equality comparison between two LowerProxy objects. More... | |
template<typename MT , typename T > | |
bool | blaze::operator== (const LowerProxy< MT > &lhs, const T &rhs) |
Equality comparison between a LowerProxy object and an object of different type. More... | |
template<typename T , typename MT > | |
bool | blaze::operator== (const T &lhs, const LowerProxy< MT > &rhs) |
Equality comparison between an object of different type and a LowerProxy object. More... | |
template<typename MT1 , typename MT2 > | |
bool | blaze::operator!= (const LowerProxy< MT1 > &lhs, const LowerProxy< MT2 > &rhs) |
Inequality comparison between two LowerProxy objects. More... | |
template<typename MT , typename T > | |
bool | blaze::operator!= (const LowerProxy< MT > &lhs, const T &rhs) |
Inequality comparison between a LowerProxy object and an object of different type. More... | |
template<typename T , typename MT > | |
bool | blaze::operator!= (const T &lhs, const LowerProxy< MT > &rhs) |
Inquality comparison between an object of different type and a LowerProxy object. More... | |
template<typename MT1 , typename MT2 > | |
bool | blaze::operator< (const LowerProxy< MT1 > &lhs, const LowerProxy< MT2 > &rhs) |
Less-than comparison between two LowerProxy objects. More... | |
template<typename MT , typename T > | |
bool | blaze::operator< (const LowerProxy< MT > &lhs, const T &rhs) |
Less-than comparison between a LowerProxy object and an object of different type. More... | |
template<typename T , typename MT > | |
bool | blaze::operator< (const T &lhs, const LowerProxy< MT > &rhs) |
Less-than comparison between an object of different type and a LowerProxy object. More... | |
template<typename MT1 , typename MT2 > | |
bool | blaze::operator> (const LowerProxy< MT1 > &lhs, const LowerProxy< MT2 > &rhs) |
Greater-than comparison between two LowerProxy objects. More... | |
template<typename MT , typename T > | |
bool | blaze::operator> (const LowerProxy< MT > &lhs, const T &rhs) |
Greater-than comparison between a LowerProxy object and an object of different type. More... | |
template<typename T , typename MT > | |
bool | blaze::operator> (const T &lhs, const LowerProxy< MT > &rhs) |
Greater-than comparison between an object of different type and a LowerProxy object. More... | |
template<typename MT1 , typename MT2 > | |
bool | blaze::operator<= (const LowerProxy< MT1 > &lhs, const LowerProxy< MT2 > &rhs) |
Less-or-equal-than comparison between two LowerProxy objects. More... | |
template<typename MT , typename T > | |
bool | blaze::operator<= (const LowerProxy< MT > &lhs, const T &rhs) |
Less-or-equal-than comparison between a LowerProxy object and an object of different type. More... | |
template<typename T , typename MT > | |
bool | blaze::operator<= (const T &lhs, const LowerProxy< MT > &rhs) |
Less-or-equal-than comparison between an object of different type and a LowerProxy object. More... | |
template<typename MT1 , typename MT2 > | |
bool | blaze::operator>= (const LowerProxy< MT1 > &lhs, const LowerProxy< MT2 > &rhs) |
Greater-or-equal-than comparison between two LowerProxy objects. More... | |
template<typename MT , typename T > | |
bool | blaze::operator>= (const LowerProxy< MT > &lhs, const T &rhs) |
Greater-or-equal-than comparison between a LowerProxy object and an object of different type. More... | |
template<typename T , typename MT > | |
bool | blaze::operator>= (const T &lhs, const LowerProxy< MT > &rhs) |
Greater-or-equal-than comparison between an object of different type and a LowerProxy object. More... | |
template<typename MT > | |
std::ostream & | blaze::operator<< (std::ostream &os, const LowerProxy< MT > &proxy) |
Global output operator for proxies on lower triangular matrices. More... | |
LowerProxy global functions | |
template<typename MT > | |
void | blaze::reset (const LowerProxy< MT > &proxy) |
Resetting the represented element to the default initial values. More... | |
template<typename MT > | |
void | blaze::clear (const LowerProxy< MT > &proxy) |
Clearing the represented element. More... | |
template<typename MT > | |
bool | blaze::isDefault (const LowerProxy< MT > &proxy) |
Returns whether the represented element is in default state. More... | |
LowerMatrix operators | |
template<typename MT , bool SO, bool DF> | |
void | blaze::reset (LowerMatrix< MT, SO, DF > &m) |
Resetting the given lower matrix. More... | |
template<typename MT , bool SO, bool DF> | |
void | blaze::reset (LowerMatrix< MT, SO, DF > &m, size_t i) |
Resetting the specified row/column of the given lower matrix. More... | |
template<typename MT , bool SO, bool DF> | |
void | blaze::clear (LowerMatrix< MT, SO, DF > &m) |
Clearing the given lower matrix. More... | |
template<typename MT , bool SO, bool DF> | |
bool | blaze::isDefault (const LowerMatrix< MT, SO, DF > &m) |
Returns whether the given lower matrix is in default state. More... | |
template<typename MT , bool SO, bool DF> | |
void | blaze::swap (LowerMatrix< MT, SO, DF > &a, LowerMatrix< MT, SO, DF > &b) |
Swapping the contents of two matrices. More... | |
|
inline |
Clearing the given lower matrix.
m | The lower matrix to be cleared. |
|
inline |
Clearing the represented element.
proxy | The given access proxy. |
This function clears the element represented by the access proxy to its default initial state.
|
inline |
Returns whether the given lower matrix is in default state.
m | The lower matrix to be tested for its default state. |
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:
|
inline |
Returns whether the represented element is in default state.
proxy | The given access proxy |
This function checks whether the element represented by the access proxy is in default state. In case it is in default state, the function returns true, otherwise it returns false.
|
inline |
Inequality comparison between two LowerProxy objects.
lhs | The left-hand side LowerProxy object. |
rhs | The right-hand side LowerProxy object. |
|
inline |
Inequality comparison between a LowerProxy object and an object of different type.
lhs | The left-hand side LowerProxy object. |
rhs | The right-hand side object of other type. |
|
inline |
Inquality comparison between an object of different type and a LowerProxy object.
lhs | The left-hand side object of other type. |
rhs | The right-hand side LowerProxy object. |
|
inline |
Less-than comparison between two LowerProxy objects.
lhs | The left-hand side LowerProxy object. |
rhs | The right-hand side LowerProxy object. |
|
inline |
Less-than comparison between a LowerProxy object and an object of different type.
lhs | The left-hand side LowerProxy object. |
rhs | The right-hand side object of other type. |
|
inline |
Less-than comparison between an object of different type and a LowerProxy object.
lhs | The left-hand side object of other type. |
rhs | The right-hand side LowerProxy object. |
|
inline |
Global output operator for proxies on lower triangular matrices.
os | Reference to the output stream. |
proxy | Reference to a constant proxy object. |
|
inline |
Less-or-equal-than comparison between two LowerProxy objects.
lhs | The left-hand side LowerProxy object. |
rhs | The right-hand side LowerProxy object. |
|
inline |
Less-or-equal-than comparison between a LowerProxy object and an object of different type.
lhs | The left-hand side LowerProxy object. |
rhs | The right-hand side object of other type. |
|
inline |
Less-or-equal-than comparison between an object of different type and a LowerProxy object.
lhs | The left-hand side object of other type. |
rhs | The right-hand side LowerProxy object. |
|
inline |
Equality comparison between two LowerProxy objects.
lhs | The left-hand side LowerProxy object. |
rhs | The right-hand side LowerProxy object. |
|
inline |
Equality comparison between a LowerProxy object and an object of different type.
lhs | The left-hand side LowerProxy object. |
rhs | The right-hand side object of other type. |
|
inline |
Equality comparison between an object of different type and a LowerProxy object.
lhs | The left-hand side object of other type. |
rhs | The right-hand side LowerProxy object. |
|
inline |
Greater-than comparison between two LowerProxy objects.
lhs | The left-hand side LowerProxy object. |
rhs | The right-hand side LowerProxy object. |
|
inline |
Greater-than comparison between a LowerProxy object and an object of different type.
lhs | The left-hand side LowerProxy object. |
rhs | The right-hand side object of other type. |
|
inline |
Greater-than comparison between an object of different type and a LowerProxy object.
lhs | The left-hand side object of other type. |
rhs | The right-hand side LowerProxy object. |
|
inline |
Greater-or-equal-than comparison between two LowerProxy objects.
lhs | The left-hand side LowerProxy object. |
rhs | The right-hand side LowerProxy object. |
|
inline |
Greater-or-equal-than comparison between a LowerProxy object and an object of different type.
lhs | The left-hand side LowerProxy object. |
rhs | The right-hand side object of other type. |
|
inline |
Greater-or-equal-than comparison between an object of different type and a LowerProxy object.
lhs | The left-hand side object of other type. |
rhs | The right-hand side LowerProxy object. |
|
inline |
Resetting the given lower matrix.
m | The lower matrix to be resetted. |
|
inline |
Resetting the specified row/column of the given lower matrix.
m | The lower matrix 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 lower 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.
|
inline |
Resetting the represented element to the default initial values.
proxy | The given access proxy. |
This function resets the element represented by the access proxy to its default initial value.
|
inline |
Swapping the contents of two matrices.
a | The first matrix to be swapped. |
b | The second matrix to be swapped. |
no-throw | guarantee. |