Expression object for sparse matrix-sparse vector multiplications.The SMatSVecMultExpr class represents the compile time expression for multiplications between row-major sparse matrices and sparse vectors.
More...
#include <SMatSVecMultExpr.h>
Inherits blaze::SparseVector< SMatSVecMultExpr< MT, VT >, false >, blaze::MatVecMultExpr, and blaze::Computation.
|
typedef MT::ResultType | MRT |
| Result type of the left-hand side sparse matrix expression.
|
|
typedef VT::ResultType | VRT |
| Result type of the right-hand side sparse vector expression.
|
|
typedef MT::CompositeType | MCT |
| Composite type of the left-hand side sparse matrix expression.
|
|
typedef VT::CompositeType | VCT |
| Composite type of the right-hand side sparse vector expression.
|
|
|
LeftOperand | mat_ |
| Left-hand side sparse matrix of the multiplication expression.
|
|
RightOperand | vec_ |
| Right-hand side sparse vector of the multiplication expression.
|
|
template<typename, typename>
class blaze::SMatSVecMultExpr< typename, typename >
Expression object for sparse matrix-sparse vector multiplications.
The SMatSVecMultExpr class represents the compile time expression for multiplications between row-major sparse matrices and sparse vectors.
template<typename , typename >
Constructor for the SMatSVecMultExpr class.
- Parameters
-
mat | The left-hand side sparse matrix operand of the multiplication expression. |
vec | The right-hand side sparse vector 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 matrix operand.
- Returns
- The left-hand side sparse matrix operand.
template<typename , typename >
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 , 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.
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 , typename >
Returns the right-hand side sparse vector operand.
- Returns
- The right-hand side sparse vector operand.
template<typename , typename >
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: