Expression object for the row-wise variance function on row-major sparse matrices.This specialization of the SMatVarExpr class template represents the compile time expression for the row-wise variance function on row-major sparse matrices.
More...
#include <SMatVarExpr.h>
Inherits blaze::MatReduceExpr< DenseVector< SMatVarExpr< MT, rowwise >, false >, rowwise >, and blaze::Computation.
|
static constexpr bool | simdEnabled = false |
| Compilation switch for the expression template evaluation strategy.
|
|
static constexpr bool | smpAssignable = false |
| Compilation switch for the expression template assignment strategy.
|
|
static constexpr bool | transposeFlag = TF |
| Transpose flag of the vector.
|
|
|
using | RT = ResultType_t< MT > |
| Result type of the sparse matrix expression.
|
|
|
Operand | sm_ |
| Sparse matrix of the variance expression.
|
|
template<typename MT>
class blaze::SMatVarExpr< MT, rowwise >
Expression object for the row-wise variance function on row-major sparse matrices.
This specialization of the SMatVarExpr class template represents the compile time expression for the row-wise variance function on row-major sparse matrices.
◆ SMatVarExpr()
Constructor for the SMatVarExpr class.
- Parameters
-
sm | The matrix operand of the variance expression. |
◆ at()
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. |
◆ begin()
Returns an iterator to the first non-zero element of the dense vector.
- Returns
- Iterator to the first non-zero element of the dense vector.
◆ canAlias()
template<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 an aliasing effect is possible, false if not.
◆ end()
Returns an iterator just past the last non-zero element of the dense vector.
- Returns
- Iterator just past the last non-zero element of the dense vector.
◆ isAliased()
template<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 the given alias is contained in this expression, false if not.
◆ isAligned()
Returns whether the operands of the expression are properly aligned in memory.
- Returns
- true in case the operands are aligned, false if not.
◆ operand()
Returns the sparse matrix operand.
- Returns
- The sparse matrix operand.
◆ operator[]()
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.
◆ size()
Returns the current size/dimension of the vector.
- Returns
- The size of the vector.
◆ useAssign
Compilation switch for the serial evaluation strategy of the variance expression.
The useAssign compile time constant expression represents a compilation switch for the serial evaluation strategy of the variance expression. In case the sparse matrix operand requires an intermediate evaluation, useAssign will be set to 1 and the variance expression will be evaluated via the assign function family. Otherwise useAssign will be set to 0 and the expression will be evaluated via the subscript operator.
The documentation for this class was generated from the following file: