Expression object for transpose sparse vector-transpose dense matrix multiplications.The TSVecTDMatMultExpr class represents the compile time expression for multiplications between transpose sparse vectors and column-major dense matrices.
More...
#include <TSVecTDMatMultExpr.h>
Inherits blaze::TVecMatMultExpr< DenseVector< TSVecTDMatMultExpr< VT, MT >, true > >, and blaze::Computation.
|
using | This = TSVecTDMatMultExpr< VT, MT > |
| Type of this TSVecTDMatMultExpr instance.
|
|
using | BaseType = DenseVector< This, true > |
| Base type of this TSVecTDMatMultExpr 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 | ReturnType = const ElementType |
| Return type for expression template evaluations.
|
|
using | CompositeType = If_t< useAssign, const ResultType, const TSVecTDMatMultExpr & > |
| 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 left-hand side dense matrix operand.
|
|
using | VectorType = VT |
| Type of the vector.
|
|
|
static constexpr bool | simdEnabled = false |
| Compilation switch for the expression template evaluation strategy.
|
|
static constexpr bool | smpAssignable |
| Compilation switch for the expression template assignment strategy. More...
|
|
static constexpr bool | transposeFlag = TF |
| Transpose flag of the vector.
|
|
|
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 | 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.
|
|
|
template<typename VT2 > |
auto | addAssign (DenseVector< VT2, true > &lhs, const TSVecTDMatMultExpr &rhs) -> EnableIf_t< UseAssign_v< VT2 > > |
| Addition assignment of a transpose sparse vector-transpose dense matrix multiplication to a dense vector ( ). More...
|
|
template<typename VT2 > |
auto | subAssign (DenseVector< VT2, true > &lhs, const TSVecTDMatMultExpr &rhs) -> EnableIf_t< UseAssign_v< VT2 > > |
| Subtraction assignment of a transpose sparse vector-transpose dense matrix multiplication to a dense vector ( ). More...
|
|
template<typename VT2 > |
auto | multAssign (DenseVector< VT2, true > &lhs, const TSVecTDMatMultExpr &rhs) -> EnableIf_t< UseAssign_v< VT2 > > |
| Multiplication assignment of a transpose sparse vector-transpose dense matrix multiplication to a dense vector ( ). More...
|
|
template<typename VT2 > |
auto | divAssign (DenseVector< VT2, true > &lhs, const TSVecTDMatMultExpr &rhs) -> EnableIf_t< UseAssign_v< VT2 > > |
| Division assignment of a transpose sparse vector-transpose dense matrix multiplication to a dense vector ( ). More...
|
|
template<typename VT2 > |
auto | smpAddAssign (DenseVector< VT2, true > &lhs, const TSVecTDMatMultExpr &rhs) -> EnableIf_t< UseSMPAssign_v< VT2 > > |
| SMP addition assignment of a transpose sparse vector-transpose dense matrix multiplication to a dense vector ( ). More...
|
|
template<typename VT2 > |
auto | smpSubAssign (DenseVector< VT2, true > &lhs, const TSVecTDMatMultExpr &rhs) -> EnableIf_t< UseSMPAssign_v< VT2 > > |
| SMP subtraction assignment of a transpose sparse vector-transpose dense matrix multiplication to a dense vector ( ). More...
|
|
template<typename VT2 > |
auto | smpMultAssign (DenseVector< VT2, true > &lhs, const TSVecTDMatMultExpr &rhs) -> EnableIf_t< UseSMPAssign_v< VT2 > > |
| SMP multiplication assignment of a transpose sparse vector-transpose dense matrix multiplication to a dense vector ( ). More...
|
|
template<typename VT2 > |
auto | smpDivAssign (DenseVector< VT2, true > &lhs, const TSVecTDMatMultExpr &rhs) -> EnableIf_t< UseSMPAssign_v< VT2 > > |
| SMP division assignment of a transpose sparse vector-transpose dense matrix multiplication to a dense vector ( ). More...
|
|
template<typename VT, typename MT>
class blaze::TSVecTDMatMultExpr< VT, MT >
Expression object for transpose sparse vector-transpose dense matrix multiplications.
The TSVecTDMatMultExpr class represents the compile time expression for multiplications between transpose sparse vectors and column-major dense matrices.
◆ TSVecTDMatMultExpr()
template<typename VT , typename MT >
Constructor for the TSVecTDMatMultExpr 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.
◆ 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.
◆ rightOperand()
template<typename VT , typename MT >
Returns the right-hand side transpose dense matrix operand.
- Returns
- The right-hand side transpose dense matrix operand.
◆ size()
template<typename VT , typename MT >
Returns the current size/dimension of the vector.
- Returns
- The size of the vector.
◆ smpAssignable
template<typename VT , typename MT >
Initial value:
Compilation switch for the expression template assignment strategy.
◆ useAssign
template<typename VT , typename MT >
Compilation switch for the evaluation strategy of the multiplication expression.
The useAssign compile time constant expression represents a compilation switch for the evaluation strategy of the multiplication expression. In case either the vector or the matrix operand requires an intermediate evaluation or the sparse vector expression is a compound expression, useAssign will be set to true and the multiplication expression will be evaluated via the assign function family. Otherwise useAssign will be set to false and the expression will be evaluated via the subscript operator.
The documentation for this class was generated from the following files: