Expression object for column-wise row-major sparse matrix reduction operations.
More...
#include <SMatReduceExpr.h>
Inherits blaze::MatReduceExpr< DenseVector< SMatReduceExpr< MT, OP, columnwise >, true >, columnwise >, and blaze::Computation.
|
using | This = SMatReduceExpr< MT, OP, columnwise > |
| Type of this SMatReduceExpr instance.
|
|
using | BaseType = MatReduceExpr< DenseVector< This, true >, columnwise > |
| Base type of this SMatReduceExpr instance.
|
|
using | ResultType = ReduceTrait_t< RT, OP, columnwise > |
| Result type for expression template evaluations.
|
|
using | TransposeType = TransposeType_t< ResultType > |
| Transpose type for expression template evaluations.
|
|
using | ElementType = ElementType_t< ResultType > |
| Resulting element type.
|
|
using | SIMDType = SIMDTrait_t< ElementType > |
| Resulting SIMD element type.
|
|
using | ReturnType = const ElementType |
| Return type for expression template evaluations.
|
|
using | CompositeType = const ResultType |
| Data type for composite expression templates.
|
|
using | Operand = If_t< IsExpression_v< MT >, const MT, const MT & > |
| Composite type of the left-hand side sparse matrix expression.
|
|
using | Operation = OP |
| Data type of the custom unary operation.
|
|
using | VectorType = SMatReduceExpr< MT, OP, columnwise > |
| Type of the vector.
|
|
|
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 |
| Transpose flag of the vector.
|
|
|
using | RT = ResultType_t< MT > |
| Result type of the sparse matrix expression.
|
|
using | OT = OppositeType_t< MT > |
| Opposite type of the sparse matrix expression.
|
|
using | CT = CompositeType_t< MT > |
| Composite type of the sparse matrix expression.
|
|
|
Operand | sm_ |
| Sparse matrix of the reduction expression.
|
|
Operation | op_ |
| The reduction operation.
|
|
template<typename MT, typename OP>
class blaze::SMatReduceExpr< MT, OP, columnwise >
Expression object for column-wise row-major sparse matrix reduction operations.
This specialization of the SMatReduceExpr class template represents the compile time expression for column-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. |
◆ 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.
◆ 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*() [1/2]
|
constexprnoexceptinherited |
CRTP-based conversion operation for constant vectors.
- Returns
- Const reference of the actual type of the vector.
This operator performs the CRTP-based type-safe downcast to the actual type VT of the vector. It will return a constant reference to the actual type VT.
◆ operator*() [2/2]
|
constexprnoexceptinherited |
CRTP-based conversion operation for non-constant vectors.
- Returns
- Mutable reference of the actual type of the vector.
This operator performs the CRTP-based type-safe downcast to the actual type VT of the vector. It will return a mutable reference to the actual type VT.
◆ 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]
|
constexprnoexceptinherited |
CRTP-based conversion operation for constant vectors.
- Returns
- Constant reference of the actual type of the vector.
This operator performs the CRTP-based type-safe downcast to the actual type VT of the vector. It will return a constant reference to the actual type VT.
◆ operator~() [2/2]
|
constexprnoexceptinherited |
CRTP-based conversion operation for non-constant vectors.
- Returns
- Mutable reference of the actual type of the vector.
This operator performs the CRTP-based type-safe downcast to the actual type VT of the vector. It will return a mutable reference to the actual type VT.
◆ size()
template<typename MT , typename OP >
Returns the current size/dimension of the vector.
- Returns
- The size of the vector.
The documentation for this class was generated from the following file: