Expression object for the dense vector abs() function.The DVecAbsExpr class represents the compile time expression for the calculation of the absolute value of each element of a dense vector via the abs() function.
More...
#include <DVecAbsExpr.h>
Inherits blaze::DenseVector< DVecAbsExpr< VT, TF >, TF >, blaze::VecAbsExpr, and blaze::Computation.
|
enum | { returnExpr = !IsTemporary<RN>::value
} |
| Compilation switch for the selection of the subscript operator return type. More...
|
|
enum | { useAssign = RequiresEvaluation<VT>::value
} |
| Compilation switch for the serial evaluation strategy of the absolute value expression. More...
|
|
typedef VT::ReturnType | RN |
| Return type of the dense vector expression.
|
|
typedef VT::ElementType | ET |
| Element type of the dense vector expression.
|
|
typedef AbsExprTrait< RN >::Type | ExprReturnType |
| Expression return type for the subscript operator.
|
|
|
Operand | dv_ |
| Dense vector of the absolute value expression.
|
|
template<typename VT, bool TF>
class blaze::DVecAbsExpr< VT, TF >
Expression object for the dense vector abs() function.
The DVecAbsExpr class represents the compile time expression for the calculation of the absolute value of each element of a dense vector via the abs() function.
template<typename VT , bool TF>
Constructor for the DVecAbsExpr class.
- Parameters
-
dv | The dense vector operand of the absolute value expression. |
template<typename VT , bool TF>
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.
template<typename VT , bool TF>
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 , bool TF>
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 , bool TF>
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.
template<typename VT , bool TF>
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 , bool TF>
Returns whether the operands of the expression are properly aligned in memory.
- Returns
- true in case the operands are aligned, false if not.
template<typename VT , bool TF>
Access to the intrinsic elements of the vector.
- Parameters
-
index | Access index. The index has to be in the range . |
- Returns
- Reference to the accessed values.
template<typename VT , bool TF>
Returns the dense vector operand.
- Returns
- The dense vector operand.
template<typename VT , bool TF>
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 VT, bool TF>
Conversion operator for non-constant vectors.
- Returns
- Reference of the actual type of the vector.
template<typename VT, bool TF>
Conversion operator for constant vectors.
- Returns
- Const reference of the actual type of the vector.
template<typename VT , bool TF>
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: