Expression object for row-wise row-major sparse matrix reduction operations.This specialization of the SMatReduceExpr class template represents the compile time expression for row-wise reduction operations of row-major sparse matrices.
More...
#include <SMatReduceExpr.h>
Inherits blaze::MatReduceExpr< DenseVector< SMatReduceExpr< MT, OP, rowwise >, false >, rowwise >, and blaze::Computation.
|
static constexpr bool | simdEnabled = false |
| Compilation switch for the expression template evaluation strategy.
|
|
static constexpr bool | smpAssignable = MT::smpAssignable |
| Compilation switch for the expression template assignment strategy.
|
|
static constexpr bool | transposeFlag = TF |
| Transpose flag of the vector.
|
|
|
using | RT = ResultType_t< MT > |
| Result type of the sparse matrix expression.
|
|
using | ET = ElementType_t< MT > |
| Element type of the sparse matrix expression.
|
|
template<typename MT, typename OP>
class blaze::SMatReduceExpr< MT, OP, rowwise >
Expression object for row-wise row-major sparse matrix reduction operations.
This specialization of the SMatReduceExpr class template represents the compile time expression for row-wise reduction operations of row-major sparse matrices.
◆ SMatReduceExpr()
template<typename MT , typename OP >
Constructor for the SMatReduceExpr class.
- Parameters
-
sm | The matrix operand of the reduction expression. |
op | The reduction operation. |
◆ at()
template<typename MT , typename OP >
Checked access to the vector elements.
- Parameters
-
index | Access index. The index has to be in the range . |
- Returns
- The resulting value.
- Exceptions
-
std::out_of_range | Invalid vector access index. |
◆ begin()
template<typename MT , typename OP >
Returns an iterator to the first non-zero element of the dense vector.
- Returns
- Iterator to the first non-zero element of the dense vector.
◆ canAlias()
template<typename MT , typename OP >
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 an aliasing effect is possible, false if not.
◆ canSMPAssign()
template<typename MT , typename OP >
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.
◆ end()
template<typename MT , typename OP >
Returns an iterator just past the last non-zero element of the dense vector.
- Returns
- Iterator just past the last non-zero element of the dense vector.
◆ isAliased()
template<typename MT , typename OP >
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 the given alias is contained in this expression, false if not.
◆ isAligned()
template<typename MT , typename OP >
Returns whether the operands of the expression are properly aligned in memory.
- Returns
- true in case the operands are aligned, false if not.
◆ operand()
template<typename MT , typename OP >
Returns the sparse matrix operand.
- Returns
- The sparse matrix operand.
◆ operation()
template<typename MT , typename OP >
Returns a copy of the reduction operation.
- Returns
- A copy of the reduction operation.
◆ operator[]()
template<typename MT , typename OP >
Subscript operator for the direct access to the vector elements.
- Parameters
-
index | Access index. The index has to be in the range . |
- Returns
- The resulting value.
◆ operator~() [1/2]
template<typename VT, bool TF>
Conversion operator for non-constant vectors.
- Returns
- Reference of the actual type of the vector.
◆ operator~() [2/2]
template<typename VT, bool TF>
Conversion operator for constant vectors.
- Returns
- Const reference of the actual type of the vector.
◆ size()
template<typename MT , typename OP >
Returns the current size/dimension of the vector.
- Returns
- The size of the vector.
◆ useAssign
template<typename MT , typename OP >
Compilation switch for the serial evaluation strategy of the reduction expression.
The useAssign compile time constant expression represents a compilation switch for the serial evaluation strategy of the reduction expression. In case the sparse matrix operand requires an intermediate evaluation, useAssign will be set to 1 and the reduction expression will be evaluated via the assign function family. Otherwise useAssign will be set to 0 and the expression will be evaluated via the subscript operator.
The documentation for this class was generated from the following file: