Expression object for transpose sparse vector-dense matrix multiplications.
More...
#include <TSVecDMatMultExpr.h>
Inherits blaze::TVecMatMultExpr< DenseVector< TSVecDMatMultExpr< VT, MT >, true > >, and blaze::Computation.
|
|
using | This = TSVecDMatMultExpr<VT,MT> |
| | Type of this TSVecDMatMultExpr instance.
|
|
using | BaseType = TVecMatMultExpr< DenseVector<This,true> > |
| | Base type of this TSVecDMatMultExpr instance.
|
|
using | ResultType = MultTrait_t<VRT,MRT> |
| | 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 | LeftOperand = If_t< IsExpression_v<VT>, const VT, const VT& > |
| | Composite type of the left-hand side sparse vector expression.
|
|
using | RightOperand = If_t< IsExpression_v<MT>, const MT, const MT& > |
| | Composite type of the right-hand side sparse matrix expression.
|
|
using | LT = If_t< evaluateVector, const VRT, VCT > |
| | Type for the assignment of the left-hand side sparse vector operand.
|
|
using | RT = If_t< evaluateMatrix, const MRT, MCT > |
| | Type for the assignment of the right-hand side dense matrix operand.
|
|
| | TSVecDMatMultExpr (const VT &vec, const MT &mat) noexcept |
| | Constructor for the TSVecDMatMultExpr class.
|
| ReturnType | operator[] (size_t index) const |
| | Subscript operator for the direct access to the vector elements.
|
| ReturnType | at (size_t index) const |
| | Checked access to the vector elements.
|
| size_t | size () const noexcept |
| | Returns the current size/dimension of the vector.
|
| LeftOperand | leftOperand () const noexcept |
| | Returns the left-hand side sparse vector operand.
|
| RightOperand | rightOperand () const noexcept |
| | Returns the right-hand side dense matrix operand.
|
| template<typename T> |
| bool | canAlias (const T *alias) const noexcept |
| | Returns whether the expression can alias with the given address alias.
|
| template<typename T> |
| bool | isAliased (const T *alias) const noexcept |
| | Returns whether the expression is aliased with the given address alias.
|
| bool | isAligned () const noexcept |
| | Returns whether the operands of the expression are properly aligned in memory.
|
| bool | canSMPAssign () const noexcept |
| | Returns whether the expression can be used in SMP assignments.
|
|
| static constexpr bool | simdEnabled |
| | Compilation switch for the expression template evaluation strategy.
|
| static constexpr bool | 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.
|
|
|
using | VRT = ResultType_t<VT> |
| | Result type of the left-hand side sparse vector expression.
|
|
using | MRT = ResultType_t<MT> |
| | Result type of the right-hand side dense matrix expression.
|
|
using | VET = ElementType_t<VRT> |
| | Element type of the left-hand side sparse vector expression.
|
|
using | MET = ElementType_t<MRT> |
| | Element type of the right-hand side dense matrix expression.
|
|
using | VCT = CompositeType_t<VT> |
| | Composite type of the left-hand side sparse vector expression.
|
|
using | MCT = CompositeType_t<MT> |
| | Composite type of the right-hand side dense matrix expression.
|
|
|
LeftOperand | vec_ |
| | Left-hand side sparse vector of the multiplication expression.
|
|
RightOperand | mat_ |
| | Right-hand side dense matrix of the multiplication expression.
|
|
|
static constexpr bool | evaluateVector = ( IsComputation_v<VT> || RequiresEvaluation_v<VT> ) |
| | Compilation switch for the composite type of the left-hand side sparse vector expression.
|
|
static constexpr bool | evaluateMatrix = RequiresEvaluation_v<MT> |
| | Compilation switch for the composite type of the right-hand side dense matrix expression.
|
template<typename VT, typename MT>
class blaze::TSVecDMatMultExpr< VT, MT >
Expression object for transpose sparse vector-dense matrix multiplications.
The TSVecDMatMultExpr class represents the compile time expression for multiplications between transpose sparse vectors and row-major dense matrices.
◆ TSVecDMatMultExpr()
template<typename VT, typename MT>
Constructor for the TSVecDMatMultExpr class.
- Parameters
-
| vec | The left-hand side sparse vector operand of the multiplication expression. |
| mat | The right-hand side dense matrix operand of the multiplication expression. |
◆ at()
template<typename VT, typename MT>
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 VT, typename MT>
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, typename MT>
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 VT, typename MT>
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, typename MT>
Returns whether the operands of the expression are properly aligned in memory.
- Returns
- true in case the operands are aligned, false if not.
◆ leftOperand()
template<typename VT, typename MT>
Returns the left-hand side sparse vector operand.
- Returns
- The left-hand side sparse vector operand.
◆ operator[]()
template<typename VT, typename MT>
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.
◆ rightOperand()
template<typename VT, typename MT>
Returns the right-hand side dense matrix operand.
- Returns
- The right-hand side dense matrix operand.
◆ size()
template<typename VT, typename MT>
Returns the current size/dimension of the vector.
- Returns
- The size of the vector.
◆ simdEnabled
template<typename VT, typename MT>
Initial value: =
MT::simdEnabled &&
constexpr bool IsDiagonal_v
Auxiliary variable template for the IsDiagonal type trait.
Definition IsDiagonal.h:148
constexpr bool HasSIMDAdd_v
Auxiliary variable template for the HasSIMDAdd type trait.
Definition HasSIMDAdd.h:187
constexpr bool HasSIMDMult_v
Auxiliary variable template for the HasSIMDMult type trait.
Definition HasSIMDMult.h:188
Compilation switch for the expression template evaluation strategy.
◆ smpAssignable
template<typename VT, typename MT>
Initial value: =
static constexpr bool evaluateMatrix
Compilation switch for the composite type of the left-hand side dense matrix expression.
Definition DMatDVecMultExpr.h:140
static constexpr bool evaluateVector
Compilation switch for the composite type of the right-hand side dense vector expression.
Definition DMatDVecMultExpr.h:147
Compilation switch for the expression template assignment strategy.
The documentation for this class was generated from the following files: