![]() |
Classes | |
class | blaze::DenseColumn< MT, SO > |
Reference to a specific column of a dense matrix.The DenseColumn template represents a reference to a specific column of a dense matrix primitive. The type of the dense matrix is specified via the first template parameter: More... | |
DenseColumn operators | |
template<typename MT , bool SO> | |
void | blaze::reset (DenseColumn< MT, SO > &column) |
Resetting the given dense column. More... | |
template<typename MT , bool SO> | |
void | blaze::clear (DenseColumn< MT, SO > &column) |
Clearing the given dense column. More... | |
template<typename MT , bool SO> | |
bool | blaze::isDefault (const DenseColumn< MT, SO > &column) |
Returns whether the given dense column is in default state. More... | |
|
inline |
Clearing the given dense column.
column | The dense column to be cleared. |
Clearing a dense column is equivalent to resetting it via the reset() function.
|
inline |
Returns whether the given dense column is in default state.
column | The dense column to be tested for its default state. |
This function checks whether the dense column is in default state. For instance, in case the column is instantiated for a built-in integral or floating point data type, the function returns true in case all column elements are 0 and false in case any column element is not 0. The following example demonstrates the use of the isDefault function:
|
inline |
Resetting the given dense column.
column | The dense column to be resetted. |