Expression object for dense vector expansion.The DVecExpandExpr class represents the compile time expression for expansions of dense vectors.
More...
#include <DVecExpandExpr.h>
Inherits blaze::VecExpandExpr< DenseMatrix< DVecExpandExpr< VT, TF, CEAs... >, !TF >, CEAs... >, blaze::Transformation, and blaze::ExpandExprData< CEAs... >.
|
static constexpr bool | simdEnabled = VT::simdEnabled |
| Compilation switch for the expression template evaluation strategy.
|
|
static constexpr bool | smpAssignable = VT::smpAssignable |
| Compilation switch for the expression template assignment strategy.
|
|
static constexpr size_t | SIMDSIZE = SIMDTrait<ElementType>::size |
| The number of elements packed within a single SIMD element.
|
|
static constexpr bool | storageOrder = SO |
| Storage order of the matrix.
|
|
|
Operand | dv_ |
| Dense vector of the expansion expression.
|
|
template<typename VT, bool TF, size_t... CEAs>
class blaze::DVecExpandExpr< VT, TF, CEAs >
Expression object for dense vector expansion.
The DVecExpandExpr class represents the compile time expression for expansions of dense vectors.
◆ DVecExpandExpr()
template<typename VT , bool TF, size_t... CEAs>
template<typename... REAs>
Constructor for the DVecExpandExpr class.
- Parameters
-
dv | The dense vector operand of the expansion expression. |
args | The runtime expansion expression arguments. |
◆ at()
template<typename VT , bool TF, size_t... CEAs>
Checked access to the matrix elements.
- Parameters
-
i | Access index for the row. The index has to be in the range . |
j | Access index for the column. The index has to be in the range . |
- Returns
- The resulting value.
- Exceptions
-
std::out_of_range | Invalid matrix access index. |
◆ begin()
template<typename VT , bool TF, size_t... CEAs>
Returns an iterator to the first non-zero element of row/column i.
- Parameters
-
- Returns
- Iterator to the first non-zero element of row/column i.
◆ canAlias()
template<typename VT , bool TF, size_t... CEAs>
template<typename T >
Returns whether the expression can alias with the given address alias.
- Parameters
-
alias | The alias to be checked. |
- Returns
- true in case the expression can alias, false otherwise.
◆ canSMPAssign()
template<typename VT , bool TF, size_t... CEAs>
Returns whether the expression can be used in SMP assignments.
- Returns
- true in case the expression can be used in SMP assignments, false if not.
◆ columns()
template<typename VT , bool TF, size_t... CEAs>
Returns the current number of columns of the matrix.
- Returns
- The number of columns of the matrix.
◆ end()
template<typename VT , bool TF, size_t... CEAs>
Returns an iterator just past the last non-zero element of row/column i.
- Parameters
-
- Returns
- Iterator just past the last non-zero element of row/column i.
◆ isAliased()
template<typename VT , bool TF, size_t... CEAs>
template<typename T >
Returns whether the expression is aliased with the given address alias.
- Parameters
-
alias | The alias to be checked. |
- Returns
- true in case an alias effect is detected, false otherwise.
◆ isAligned()
template<typename VT , bool TF, size_t... CEAs>
Returns whether the operands of the expression are properly aligned in memory.
- Returns
- true in case the operands are aligned, false if not.
◆ load()
template<typename VT , bool TF, size_t... CEAs>
Access to the SIMD elements of the matrix.
- Parameters
-
i | Access index for the row. The index has to be in the range . |
j | Access index for the column. The index has to be in the range . |
- Returns
- Reference to the accessed values.
◆ operand()
template<typename VT , bool TF, size_t... CEAs>
Returns the dense vector operand.
- Returns
- The dense vector operand.
◆ operator()()
template<typename VT , bool TF, size_t... CEAs>
2D-access to the matrix elements.
- Parameters
-
i | Access index for the row. The index has to be in the range . |
j | Access index for the column. The index has to be in the range . |
- Returns
- The resulting value.
◆ operator~() [1/2]
template<typename MT, bool SO>
Conversion operator for non-constant matrices.
- Returns
- Reference of the actual type of the matrix.
◆ operator~() [2/2]
template<typename MT, bool SO>
Conversion operator for constant matrices.
- Returns
- Constant reference of the actual type of the matrix.
◆ rows()
template<typename VT , bool TF, size_t... CEAs>
Returns the current number of rows of the matrix.
- Returns
- The number of rows of the matrix.
◆ useAssign
template<typename VT , bool TF, size_t... CEAs>
Compilation switch for the serial evaluation strategy of the expansion expression.
The useAssign compile time constant expression represents a compilation switch for the serial evaluation strategy of the expansion expression. In case the dense vector operand is a computation or requires an intermediate evaluation, useAssign will be set to 1 and the expansion expression will be evaluated via the assign function family. Otherwise useAssign will be set to 0 and the expression will be evaluated via the function call operator.
The documentation for this class was generated from the following file: