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::DenseVector< TSVecTDMatMultExpr< VT, MT >, true >, blaze::Expression, and blaze::Computation.
|
enum | { vectorizable = 0
} |
| Compilation switch for the expression template evaluation strategy.
|
|
typedef TSVecTDMatMultExpr< VT,
MT > | This |
| Type of this TSVecTDMatMultExpr instance.
|
|
typedef MultTrait< VRT, MRT >::Type | ResultType |
| Result type for expression template evaluations.
|
|
typedef ResultType::TransposeType | TransposeType |
| Transpose type for expression template evaluations.
|
|
typedef ResultType::ElementType | ElementType |
| Resulting element type.
|
|
typedef const ElementType | ReturnType |
| Return type for expression template evaluations.
|
|
typedef SelectType< useAssign,
const ResultType, const
TSVecTDMatMultExpr & >::Type | CompositeType |
| Data type for composite expression templates.
|
|
typedef SelectType
< IsExpression< VT >::value,
const VT, const VT & >::Type | LeftOperand |
| Composite type of the left-hand side sparse vector expression.
|
|
typedef SelectType
< IsExpression< MT >::value,
const MT, const MT & >::Type | RightOperand |
| Composite type of the right-hand side sparse matrix expression.
|
|
typedef SelectType
< IsComputation< VT >::value,
const VRT, VCT >::Type | LT |
| Type for the assignment of the left-hand side sparse vector operand.
|
|
typedef MCT | RT |
| Type for the assignment of the left-hand side dense matrix operand.
|
|
typedef VT | VectorType |
| Type of the vector.
|
|
|
enum | { useAssign = ( IsComputation<VT>::value || RequiresEvaluation<MT>::value )
} |
| Compilation switch for the evaluation strategy of the multiplication expression. More...
|
|
typedef VT::ResultType | VRT |
| Result type of the left-hand side sparse vector expression.
|
|
typedef MT::ResultType | MRT |
| Result type of the right-hand side dense matrix expression.
|
|
typedef VT::CompositeType | VCT |
| Composite type of the left-hand side sparse vector expression.
|
|
typedef MT::CompositeType | MCT |
| 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, typename>
class blaze::TSVecTDMatMultExpr< typename, typename >
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.
template<typename , typename >
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 the dense matrix expression requires an intermediate evaluation or the sparse vector expression is a compound expression, useAssign will be set to true and the addition 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.
template<typename , typename >
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. |
template<typename , typename >
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.
template<typename , typename >
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.
template<typename , typename >
Returns the left-hand side sparse vector operand.
- Returns
- The left-hand side sparse vector operand.
template<typename , typename >
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.
template<typename , bool >
Conversion operator for non-constant vectors.
- Returns
- Reference of the actual type of the vector.
template<typename , bool >
Conversion operator for constant vectors.
- Returns
- Const reference of the actual type of the vector.
template<typename , typename >
Returns the right-hand side transpose dense matrix operand.
- Returns
- The right-hand side transpose dense matrix operand.
template<typename , typename >
Returns the current size/dimension of the vector.
- Returns
- The size of the vector.
template<typename , typename >
template<typename VT2 >
Addition assignment of a transpose sparse vector-transpose dense matrix multiplication to a dense vector.
- Parameters
-
lhs | The target left-hand side dense vector. |
rhs | The right-hand side multiplication expression to be added. |
- Returns
- void
This function implements the performance optimized addition assignment of a transpose sparse vector-transpose dense matrix multiplication expression to a dense vector.
template<typename , typename >
template<typename VT2 >
Multiplication assignment of a transpose sparse vector-transpose dense matrix multiplication to a dense vector.
- Parameters
-
lhs | The target left-hand side dense vector. |
rhs | The right-hand side multiplication expression to be multiplied. |
- Returns
- void
This function implements the performance optimized multiplication assignment of a transpose sparse vector-transpose dense matrix multiplication expression to a dense vector.
template<typename , typename >
template<typename VT2 >
Subtraction assignment of a transpose sparse vector-transpose dense matrix multiplication to a dense vector.
- Parameters
-
lhs | The target left-hand side dense vector. |
rhs | The right-hand side multiplication expression to be subtracted. |
- Returns
- void
This function implements the performance optimized subtraction assignment of a transpose sparse vector-transpose dense matrix multiplication expression to a dense vector.
The documentation for this class was generated from the following files: