Expression object for sparse vector-sparse matrix multiplications.The TSVecSMatMultExpr class represents the compile time expression for multiplications between transpose sparse vectors and row-major sparse matrices.
More...
#include <TSVecSMatMultExpr.h>
Inherits blaze::SparseVector< TSVecSMatMultExpr< VT, MT >, true >, blaze::TVecMatMultExpr, and blaze::Computation.
|
enum | { smpAssignable
} |
| Compilation switch for the expression template assignment strategy.
|
|
typedef TSVecSMatMultExpr< VT, MT > | This |
| Type of this TSVecSMatMultExpr 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 const ResultType | 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< evaluateVector, const VRT, VCT >::Type | LT |
| Type for the assignment of the left-hand side sparse vector operand.
|
|
typedef SelectType< evaluateMatrix, const MRT, MCT >::Type | RT |
| Type for the assignment of the right-hand side sparse matrix operand.
|
|
typedef TSVecSMatMultExpr< VT, MT > | VectorType |
| Type of the vector.
|
|
|
enum | { evaluateVector = IsComputation<VT>::value
} |
| Compilation switch for the composite type of the left-hand side sparse vector expression.
|
|
enum | { evaluateMatrix = RequiresEvaluation<MT>::value
} |
| Compilation switch for the composite type of the right-hand side sparse matrix expression.
|
|
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 sparse 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 sparse matrix expression.
|
|
|
LeftOperand | vec_ |
| Left-hand side sparse vector of the multiplication expression.
|
|
RightOperand | mat_ |
| Right-hand side sparse matrix of the multiplication expression.
|
|
template<typename VT, typename MT>
class blaze::TSVecSMatMultExpr< VT, MT >
Expression object for sparse vector-sparse matrix multiplications.
The TSVecSMatMultExpr class represents the compile time expression for multiplications between transpose sparse vectors and row-major sparse matrices.
template<typename VT , typename MT >
Constructor for the TSVecSMatMultExpr class.
- Parameters
-
vec | The left-hand side sparse vector operand of the multiplication expression. |
mat | The right-hand side sparse matrix operand of the multiplication expression. |
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.
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.
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.
template<typename VT , typename MT >
Returns the left-hand side sparse vector operand.
- Returns
- The left-hand side sparse vector operand.
template<typename VT , typename MT >
Returns an estimation for the number of non-zero elements in the sparse vector.
- Returns
- The estimate for the number of non-zero elements in the sparse vector.
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.
Conversion operator for non-constant vectors.
- Returns
- Reference of the actual type of the vector.
Conversion operator for constant vectors.
- Returns
- Const reference of the actual type of the vector.
template<typename VT , typename MT >
Returns the right-hand side sparse matrix operand.
- Returns
- The right-hand side sparse matrix operand.
template<typename VT , typename MT >
Returns the current size/dimension of the vector.
- Returns
- The size of the vector.
The documentation for this class was generated from the following files: