|
Expression Templates Library (ETL)
|
Transform that applies a convmtx transformation on a matrix. More...
#include <transformers.hpp>

Public Types | |
| using | sub_type = T |
| The type on which the expression works. | |
| using | value_type = value_t< T > |
| The type of valuie. | |
Public Member Functions | |
| dyn_convmtx_transformer (sub_type expr, size_t h) | |
| Construct a new transformer around the given expression. More... | |
| value_type | operator[] (size_t i) const |
| Returns the value at the given index. More... | |
| value_type | read_flat (size_t i) const |
| Returns the value at the given index This function never has side effects. More... | |
| value_type | operator() (size_t i, size_t j) const |
| Access to the value at the given (i, j) position. More... | |
| template<typename E > | |
| bool | alias (const E &rhs) const noexcept |
| Test if this expression aliases with the given expression. More... | |
| void | visit (detail::evaluator_visitor &visitor) const |
| Apply the given visitor to this expression and its descendants. More... | |
| void | ensure_cpu_up_to_date () const |
| Ensures that the GPU memory is allocated and that the GPU memory is up to date (to undefined value). | |
| void | ensure_gpu_up_to_date () const |
| Copy back from the GPU to the expression memory if necessary. | |
Public Attributes | |
| sub_type | sub |
| The subexpression. | |
| size_t | h |
| The convmtx transformation size. | |
Static Public Attributes | |
| static constexpr bool | gpu_computable = false |
Transform that applies a convmtx transformation on a matrix.
| T | The type on which the transformer is applied |
|
inline |
Construct a new transformer around the given expression.
| expr | The sub expression |
| h | The convmtx transformation size |
|
inlinenoexcept |
Test if this expression aliases with the given expression.
| rhs | The other expression to test |
|
inline |
Access to the value at the given (i, j) position.
| i | The first index |
| j | The second index |
|
inline |
Returns the value at the given index.
| i | The index |
|
inline |
Returns the value at the given index This function never has side effects.
| i | The index |
|
inline |
Apply the given visitor to this expression and its descendants.
| visitor | The visitor to apply |
1.8.13