Expression object for the dense matrix repeat() function.
More...
#include <DMatRepeatExpr.h>
Inherits blaze::MatRepeatExpr< DenseMatrix< DMatRepeatExpr< MT, SO, CRAs... >, SO >, CRAs... >, If_t< IsComputation_v< MT >, Computation, Transformation >, and blaze::RepeatExprData< 2UL, CRAs... >.
|
using | This = DMatRepeatExpr< MT, SO, CRAs... > |
| Type of this DMatRepeatExpr instance.
|
|
using | BaseType = MatRepeatExpr< DenseMatrix< This, SO >, CRAs... > |
| Base type of this DMatRepeatExpr instance.
|
|
using | ResultType = RepeatTrait_t< MT, CRAs... > |
| Result type for expression template evaluations.
|
|
using | OppositeType = OppositeType_t< ResultType > |
| Result type with opposite storage order for expression template evaluations.
|
|
using | TransposeType = TransposeType_t< ResultType > |
| Transpose type for expression template evaluations.
|
|
using | ElementType = ElementType_t< MT > |
| Resulting element type.
|
|
using | ReturnType = ReturnType_t< MT > |
| 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 data type of the dense matrix expression.
|
|
using | MatrixType = DMatRepeatExpr< MT, SO, CRAs... > |
| Type of the matrix.
|
|
|
template<typename... RRAs> |
| DMatRepeatExpr (const MT &dm, RRAs... args) noexcept |
| Constructor for the DMatRepeatExpr class. More...
|
|
ReturnType | operator() (size_t i, size_t j) const |
| 2D-access to the matrix elements. More...
|
|
ReturnType | at (size_t i, size_t j) const |
| Checked access to the matrix elements. More...
|
|
size_t | rows () const noexcept |
| Returns the current number of rows of the matrix. More...
|
|
size_t | columns () const noexcept |
| Returns the current number of columns of the matrix. More...
|
|
Operand | operand () const noexcept |
| Returns the dense matrix operand. More...
|
|
template<typename T > |
bool | canAlias (const T *alias) const noexcept |
| Returns whether the expression can alias with the given address alias. More...
|
|
template<typename T > |
bool | isAliased (const T *alias) const noexcept |
| Returns whether the expression is aliased with the given address alias. More...
|
|
bool | isAligned () const noexcept |
| Returns whether the operands of the expression are properly aligned in memory. More...
|
|
bool | canSMPAssign () const noexcept |
| Returns whether the expression can be used in SMP assignments. More...
|
|
|
BLAZE_ALWAYS_INLINE constexpr DMatRepeatExpr< MT, SO, CRAs... > & | operator~ () noexcept |
| CRTP-based conversion operation for non-constant matrices. More...
|
|
BLAZE_ALWAYS_INLINE constexpr const DMatRepeatExpr< MT, SO, CRAs... > & | operator~ () const noexcept |
| CRTP-based conversion operation for constant matrices. More...
|
|
constexpr DMatRepeatExpr< MT, SO, CRAs... > & | operator* () noexcept |
| CRTP-based conversion operation for non-constant matrices. More...
|
|
constexpr const DMatRepeatExpr< MT, SO, CRAs... > & | operator* () const noexcept |
| CRTP-based conversion operation for constant matrices. More...
|
|
|
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 | storageOrder |
| Storage order of the matrix.
|
|
|
Operand | dm_ |
| Dense matrix of the repeater expression.
|
|
size_t | reps_ |
| The number of repetitions.
|
|
template<typename MT, bool SO, size_t... CRAs>
class blaze::DMatRepeatExpr< MT, SO, CRAs >
Expression object for the dense matrix repeat() function.
The DMatRepeatExpr class represents the compile time expression for repeating a dense matrix via the repeat() function.
◆ DMatRepeatExpr()
template<typename MT , bool SO, size_t... CRAs>
template<typename... RRAs>
Constructor for the DMatRepeatExpr class.
- Parameters
-
dm | The dense matrix operand of the repeater expression. |
args | The number of repetitions. |
◆ at()
template<typename MT , bool SO, size_t... CRAs>
Checked access to the matrix elements.
- Parameters
-
i | Access index for the row. The index has to be in the range . |
j | Access index for the column. The index has to be in the range . |
- Returns
- The resulting value.
- Exceptions
-
std::out_of_range | Invalid matrix access index. |
◆ canAlias()
template<typename MT , bool SO, size_t... CRAs>
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.
◆ canSMPAssign()
template<typename MT , bool SO, size_t... CRAs>
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.
◆ columns()
template<typename MT , bool SO, size_t... CRAs>
Returns the current number of columns of the matrix.
- Returns
- The number of columns of the matrix.
◆ isAliased()
template<typename MT , bool SO, size_t... CRAs>
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.
◆ isAligned()
template<typename MT , bool SO, size_t... CRAs>
Returns whether the operands of the expression are properly aligned in memory.
- Returns
- true in case the operands are aligned, false if not.
◆ operand()
template<typename MT , bool SO, size_t... CRAs>
Returns the dense matrix operand.
- Returns
- The dense matrix operand.
◆ operator()()
template<typename MT , bool SO, size_t... CRAs>
2D-access to the matrix elements.
- Parameters
-
i | Access index for the row. The index has to be in the range . |
j | Access index for the column. The index has to be in the range . |
- Returns
- The resulting value.
◆ operator*() [1/2]
|
constexprnoexceptinherited |
CRTP-based conversion operation for constant matrices.
- Returns
- Constant reference of the actual type of the matrix.
This operator performs the CRTP-based type-safe downcast to the actual type MT of the matrix. It will return a constant reference to the actual type MT.
◆ operator*() [2/2]
|
constexprnoexceptinherited |
CRTP-based conversion operation for non-constant matrices.
- Returns
- Mutable reference of the actual type of the matrix.
This operator performs the CRTP-based type-safe downcast to the actual type MT of the matrix. It will return a mutable reference to the actual type MT.
◆ operator~() [1/2]
|
constexprnoexceptinherited |
CRTP-based conversion operation for constant matrices.
- Parameters
-
matrix | The matrix to be downcast. |
- Returns
- Constant reference of the actual type of the matrix.
This operator performs the CRTP-based type-safe downcast to the actual type MT of the matrix. It will return a constant reference to the actual type MT.
◆ operator~() [2/2]
|
constexprnoexceptinherited |
CRTP-based conversion operation for non-constant matrices.
- Parameters
-
matrix | The matrix to be downcast. |
- Returns
- Mutable reference of the actual type of the matrix.
This operator performs the CRTP-based type-safe downcast to the actual type MT of the matrix. It will return a mutable reference to the actual type MT.
◆ rows()
template<typename MT , bool SO, size_t... CRAs>
Returns the current number of rows of the matrix.
- Returns
- The number of rows of the matrix.
The documentation for this class was generated from the following file: