Expression object for dense matrix-dense vector multiplications.The DMatDVecMultExpr class represents the compile time expression for multiplications between row-major dense matrices and dense vectors.
More...
#include <DMatDVecMultExpr.h>
Inherits blaze::MatVecMultExpr< DenseVector< DMatDVecMultExpr< MT, VT >, false > >, and blaze::Computation.
|
using | This = DMatDVecMultExpr< MT, VT > |
| Type of this DMatDVecMultExpr instance.
|
|
using | BaseType = DenseVector< This, false > |
| Base type of this DMatDVecMultExpr instance.
|
|
using | ResultType = MultTrait_t< MRT, VRT > |
| 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< MT >, const MT, const MT &> |
| Composite type of the left-hand side dense matrix expression.
|
|
using | RightOperand = If_t< IsExpression_v< VT >, const VT, const VT &> |
| Composite type of the right-hand side dense vector expression.
|
|
using | LT = If_t< evaluateMatrix, const MRT, MCT > |
| Type for the assignment of the left-hand side dense matrix operand.
|
|
using | RT = If_t< evaluateVector, const VRT, VCT > |
| Type for the assignment of the right-hand side dense vector operand.
|
|
using | VectorType = VT |
| Type of the vector.
|
|
|
using | MRT = ResultType_t< MT > |
| Result type of the left-hand side dense matrix expression.
|
|
using | VRT = ResultType_t< VT > |
| Result type of the right-hand side dense vector expression.
|
|
using | MET = ElementType_t< MRT > |
| Element type of the left-hand side dense matrix expression.
|
|
using | VET = ElementType_t< VRT > |
| Element type of the right-hand side dense vector expression.
|
|
using | MCT = CompositeType_t< MT > |
| Composite type of the left-hand side dense matrix expression.
|
|
using | VCT = CompositeType_t< VT > |
| Composite type of the right-hand side dense vector expression.
|
|
|
LeftOperand | mat_ |
| Left-hand side dense matrix of the multiplication expression.
|
|
RightOperand | vec_ |
| Right-hand side dense vector of the multiplication expression.
|
|
template<typename MT, typename VT>
class blaze::DMatDVecMultExpr< MT, VT >
Expression object for dense matrix-dense vector multiplications.
The DMatDVecMultExpr class represents the compile time expression for multiplications between row-major dense matrices and dense vectors.
◆ DMatDVecMultExpr()
template<typename MT , typename VT >
Constructor for the DMatDVecMultExpr class.
- Parameters
-
mat | The left-hand side matrix operand of the multiplication expression. |
vec | The right-hand side vector operand of the multiplication expression. |
◆ at()
template<typename MT , typename VT >
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 VT >
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 VT >
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 VT >
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 VT >
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 MT , typename VT >
Returns the left-hand side dense matrix operand.
- Returns
- The left-hand side dense matrix operand.
◆ operator[]()
template<typename MT , typename VT >
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 MT , typename VT >
Returns the right-hand side dense vector operand.
- Returns
- The right-hand side dense vector operand.
◆ size()
template<typename MT , typename VT >
Returns the current size/dimension of the vector.
- Returns
- The size of the vector.
◆ evaluateMatrix
template<typename MT , typename VT >
Initial value:=
( ( IsComputation_v<MT> && IsSame_v<MET,VET> &&
IsBLASCompatible_v<MET> ) || RequiresEvaluation_v<MT> )
Compilation switch for the composite type of the left-hand side dense matrix expression.
◆ simdEnabled
template<typename MT , typename VT >
Initial value:=
( !IsDiagonal_v<MT> &&
MT::simdEnabled && VT::simdEnabled &&
HasSIMDAdd_v<MET,VET> &&
HasSIMDMult_v<MET,VET> )
Compilation switch for the expression template evaluation strategy.
◆ smpAssignable
template<typename MT , typename VT >
Initial value:
Compilation switch for the expression template assignment strategy.
The documentation for this class was generated from the following file: