24 template <
size_t D, etl_expr E>
73 return {value, i, j, m, n};
87 return {value, i, j, k, m, n, o};
101 return {value, i, j, k, l, m, n, o, p};
111 template <etl_expr E>
113 return {value, first, last};
122 template <
size_t... Dims, etl_expr E>
135 template <etl_expr E,
typename... S>
141 return ret_type{value, size_t(sizes)...};
151 template <
typename D =
double>
161 template <
size_t N,
typename D =
double>
View that shows a 3d sub matrix of an expression.
Definition: expr_fwd.hpp:65
Definition: expr_fwd.hpp:71
auto slice(E &&value, size_t first, size_t last) -> slice_view< detail::build_identity_type< E >>
Returns view representing a slice view of the given expression.
Definition: view_expression_builder.hpp:112
A view (virtual) of a dynamic magic matrix.
Definition: virtual_views.hpp:42
auto magic(size_t i) -> detail::virtual_helper< D, magic_view< D >>
Returns a view representing the square magic matrix.
Definition: view_expression_builder.hpp:152
D D
The number of dimensions.
Definition: dyn_matrix_view.hpp:24
auto reshape(E &&value) -> fast_matrix_view< detail::build_identity_type< E >, is_dma< E >, Dims... >
Returns view representing the reshape of another expression.
Definition: view_expression_builder.hpp:123
Definition: expr_fwd.hpp:77
An unary expression.
Definition: unary_expr.hpp:126
Definition: expr_fwd.hpp:80
Traits to get information about ETL types.
Definition: tmp.hpp:68
Root namespace for the ETL library.
Definition: adapter.hpp:15
auto dim(E &&value, size_t i) -> detail::identity_helper< E, dim_view< detail::build_identity_type< E >, D >>
Return a view representing the ith Dth dimension.
Definition: view_expression_builder.hpp:25
View that shows a 2D sub matrix of an expression.
Definition: expr_fwd.hpp:62
constexpr size_t size(const E &expr) noexcept
Returns the size of the given ETL expression.
Definition: helpers.hpp:108
auto row(E &&value, size_t i) -> detail::identity_helper< E, dim_view< detail::build_identity_type< E >, 1 >>
Returns view representing the ith row of the given expression.
Definition: view_expression_builder.hpp:36
Definition: expr_fwd.hpp:59
View that shows a 4d sub matrix of an expression.
Definition: expr_fwd.hpp:68
auto col(E &&value, size_t i) -> detail::identity_helper< E, dim_view< detail::build_identity_type< E >, 2 >>
Returns view representing the ith column of the given expression.
Definition: view_expression_builder.hpp:47