Expression object for the column-wise variance function on row-major sparse matrices.
More...
#include <SMatVarExpr.h>
Inherits blaze::MatReduceExpr< DenseVector< SMatVarExpr< MT, columnwise >, true >, columnwise >, and blaze::Computation.
|
using | This = SMatVarExpr< MT, columnwise > |
| Type of this SMatVarExpr instance.
|
|
using | BaseType = MatReduceExpr< DenseVector< This, true >, columnwise > |
| Base type of this SMatVarExpr instance.
|
|
using | ResultType = ReduceTrait_t< RT, InvAdd, columnwise > |
| 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 | ReturnType = const ElementType |
| Return type for expression template evaluations.
|
|
using | CompositeType = const ResultType |
| Data type for composite expression templates.
|
|
using | Operand = If_t< IsExpression_v< MT >, const MT, const MT & > |
| Composite type of the left-hand side sparse matrix expression.
|
|
using | VectorType = SMatVarExpr< MT, columnwise > |
| Type of the vector.
|
|
|
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 |
| Transpose flag of the vector.
|
|
|
using | RT = ResultType_t< MT > |
| Result type of the sparse matrix expression.
|
|
using | OT = OppositeType_t< MT > |
| Opposite type of the sparse matrix expression.
|
|
using | CT = CompositeType_t< MT > |
| Composite type of the sparse matrix expression.
|
|
|
Operand | sm_ |
| Sparse matrix of the variance expression.
|
|
template<typename MT>
class blaze::SMatVarExpr< MT, columnwise >
Expression object for the column-wise variance function on row-major sparse matrices.
This specialization of the SMatVarExpr class template represents the compile time expression for the column-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. |
◆ 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.
◆ 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*() [1/2]
|
constexprnoexceptinherited |
CRTP-based conversion operation for constant vectors.
- Returns
- Const reference of the actual type of the vector.
This operator performs the CRTP-based type-safe downcast to the actual type VT of the vector. It will return a constant reference to the actual type VT.
◆ operator*() [2/2]
|
constexprnoexceptinherited |
CRTP-based conversion operation for non-constant vectors.
- Returns
- Mutable reference of the actual type of the vector.
This operator performs the CRTP-based type-safe downcast to the actual type VT of the vector. It will return a mutable reference to the actual type VT.
◆ 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]
|
constexprnoexceptinherited |
CRTP-based conversion operation for constant vectors.
- Returns
- Constant reference of the actual type of the vector.
This operator performs the CRTP-based type-safe downcast to the actual type VT of the vector. It will return a constant reference to the actual type VT.
◆ operator~() [2/2]
|
constexprnoexceptinherited |
CRTP-based conversion operation for non-constant vectors.
- Returns
- Mutable reference of the actual type of the vector.
This operator performs the CRTP-based type-safe downcast to the actual type VT of the vector. It will return a mutable reference to the actual type VT.
◆ size()
Returns the current size/dimension of the vector.
- Returns
- The size of the vector.
The documentation for this class was generated from the following file: