|
| | sub_matrix_4d (sub_type sub_expr, size_t i, size_t j, size_t k, size_t l, size_t m, size_t n, size_t o, size_t p) |
| | Construct a new sub_matrix_4d over the given sub expression. More...
|
| |
| const_return_type | operator[] (size_t f) const |
| | Returns the element at the given index. More...
|
| |
| return_type | operator[] (size_t f) |
| | Returns the element at the given index. More...
|
| |
| value_type | read_flat (size_t f) const noexcept(assert_nothrow) |
| | Returns the value at the given index This function never has side effects. More...
|
| |
| | ETL_STRONG_INLINE (const_return_type) operator()(size_t i |
| | Access to the element at the given (args...) position. More...
|
| |
|
| cpp_assert (j< n, "Invalid 4d index inside sub_matrix_4d") |
| |
|
| cpp_assert (k< o, "Invalid 4d index inside sub_matrix_4d") |
| |
|
| cpp_assert (l< p, "Invalid 4d index inside sub_matrix_4d") |
| |
|
return | sub_expr (base_i+i, base_j+j, base_k+k, base_l+l) |
| |
| | ETL_STRONG_INLINE (return_type) operator()(size_t i |
| | Access to the element at the given (args...) position. More...
|
| |
|
| cpp_assert (j< n, "Invalid 4d index inside sub_matrix_4d") |
| |
|
| cpp_assert (k< o, "Invalid 4d index inside sub_matrix_4d") |
| |
|
| cpp_assert (l< p, "Invalid 4d index inside sub_matrix_4d") |
| |
|
return | sub_expr (base_i+i, base_j+j, base_k+k, base_l+l) |
| |
| auto | operator() (size_t x) const |
| | Creates a sub view of the matrix, effectively removing the first dimension and fixing it to the given index. More...
|
| |
| template<typename E > |
| bool | alias (const E &rhs) const noexcept |
| | Test if this expression aliases with the given expression. More...
|
| |
| size_t & | unsafe_dimension_access (size_t x) |
| | Returns a reference to the ith dimension value. More...
|
| |
| template<typename L > |
| void | assign_to (L &&lhs) const |
| | Assign to the given left-hand-side expression. More...
|
| |
| template<typename L > |
| void | assign_add_to (L &&lhs) const |
| | Add to the given left-hand-side expression. More...
|
| |
| template<typename L > |
| void | assign_sub_to (L &&lhs) const |
| | Sub from the given left-hand-side expression. More...
|
| |
| template<typename L > |
| void | assign_mul_to (L &&lhs) const |
| | Multiply the given left-hand-side expression. More...
|
| |
| template<typename L > |
| void | assign_div_to (L &&lhs) const |
| | Divide the given left-hand-side expression. More...
|
| |
| template<typename L > |
| void | assign_mod_to (L &&lhs) const |
| | Modulo the given left-hand-side expression. 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.
|
| |
| void | visit (detail::evaluator_visitor &visitor) const |
| | Apply the given visitor to this expression and its descendants. More...
|
| |
| derived_t & | as_derived () noexcept |
| | Returns a reference to the derived object, i.e. the object using the CRTP injector. More...
|
| |
| const derived_t & | as_derived () const noexcept |
| | Returns a reference to the derived object, i.e. the object using the CRTP injector. More...
|
| |
| auto | begin () noexcept |
| | Return an iterator to the first element of the matrix. More...
|
| |
| auto | begin () const noexcept |
| | Return an iterator to the first element of the matrix. More...
|
| |
| auto | end () noexcept |
| | Return an iterator to the past-the-end element of the matrix. More...
|
| |
| auto | end () const noexcept |
| | Return an iterator to the past-the-end element of the matrix. More...
|
| |
| auto | cbegin () const noexcept |
| | Return an iterator to the first element of the matrix. More...
|
| |
| auto | cend () const noexcept |
| | Return an iterator to the past-the-end element of the matrix. More...
|
| |
| derived_t & | operator= (E &&e) |
| | Assign the given expression to the unary expression. More...
|
| |
| derived_t & | operator= (const value_type &v) |
| | Assign the given expression to the unary expression. More...
|
| |
| derived_t & | operator= (const Container &vec) requires(std |
| | Assign the given container to the unary expression. More...
|
| |
| derived_t & | as_derived () noexcept |
| | Returns a reference to the derived object, i.e. the object using the CRTP injector. More...
|
| |
| const derived_t & | as_derived () const noexcept |
| | Returns a reference to the derived object, i.e. the object using the CRTP injector. More...
|
| |
| bool | is_finite () const noexcept |
| | Indicates if the expression contains only finite values. More...
|
| |
| bool | is_zero () const noexcept |
| | Indicates if the expression contains only zero values. More...
|
| |
| bool | is_diagonal () const noexcept |
| | Indicates if the expression is diagonal. More...
|
| |
| bool | is_uniform () const noexcept |
| | Indicates if the expression is uniform, i.e. all elements are of the same value. More...
|
| |
| derived_t & | as_derived () noexcept |
| | Returns a reference to the derived object, i.e. the object using the CRTP injector. More...
|
| |
| derived_t & | scale_inplace (E &&e) |
| | Scale the matrix by the factor e, in place. More...
|
| |
|
derived_t & | fflip_inplace () requires(mat_or_vec< derived_t >) |
| | Flip the matrix horizontally and vertically, in place.
|
| |
|
derived_t & | deep_fflip_inplace () |
| | Fully flip each sub 2D matrix in place.
|
| |
|
derived_t & | deep_transpose_inplace () |
| | Transpose each sub 2D matrix in place.
|
| |
|
derived_t & | direct_deep_transpose_inplace () |
| | Transpose each sub 2D matrix in place.
|
| |
| derived_t & | transpose_inplace () requires(etl_2d< derived_t >) |
| | Transpose the matrix in place. More...
|
| |
| derived_t & | direct_transpose_inplace () requires(etl_2d< derived_t >) |
| | Transpose the matrix in place. More...
|
| |
|
derived_t & | fft_inplace () requires(etl_1d< derived_t > &&etl_complex_expr< derived_t >) |
| | Perform inplace 1D FFT of the vector.
|
| |
| derived_t & | fft_many_inplace () requires(matrix< derived_t > &&etl_complex_expr< derived_t >) |
| | Perform many inplace 1D FFT of the matrix. More...
|
| |
|
derived_t & | ifft_inplace () requires(etl_1d< derived_t > &&etl_complex_expr< derived_t >) |
| | Perform inplace 1D Inverse FFT of the vector.
|
| |
|
derived_t & | ifft_many_inplace () requires(matrix< derived_t > &&etl_complex_expr< derived_t >) |
| | Perform many inplace 1D Inverse FFT of the vector.
|
| |
|
derived_t & | fft2_inplace () requires(etl_2d< derived_t > &&etl_complex_expr< derived_t >) |
| | Perform inplace 2D FFT of the matrix.
|
| |
| derived_t & | fft2_many_inplace () requires(deep_mat< derived_t > &&etl_complex_expr< derived_t >) |
| | Perform many inplace 2D FFT of the matrix. More...
|
| |
|
derived_t & | ifft2_inplace () requires(etl_2d< derived_t > &&etl_complex_expr< derived_t >) |
| | Perform inplace 2D Inverse FFT of the matrix.
|
| |
|
derived_t & | ifft2_many_inplace () requires(deep_mat< derived_t > &&etl_complex_expr< derived_t >) |
| | Perform many inplace 2D Inverse FFT of the matrix.
|
| |
template<etl_expr T, bool Aligned>
struct etl::sub_matrix_4d< T, Aligned >
View that shows a 4d sub matrix of an expression.
- Template Parameters
-
| T | The type of expression on which the view is made |