12 #include "etl/impl/fft.hpp" 24 template <
typename D,
typename V>
36 validate_assign(as_derived(), e);
39 if (e.alias(as_derived())) {
46 e.assign_to(as_derived());
49 e.assign_to(as_derived());
64 std::fill(as_derived().begin(), as_derived().end(), v);
75 template <std_container Container>
77 validate_assign(as_derived(), vec);
79 std::copy(vec.begin(), vec.end(), as_derived().begin());
value_t< T > value_type
The value type.
Definition: assignable.hpp:27
D D
The number of dimensions.
Definition: dyn_matrix_view.hpp:24
derived_t & operator=(const value_type &v)
Assign the given expression to the unary expression.
Definition: assignable.hpp:60
Implementations of inplace matrix transposition.
Traits to get information about ETL types.
Definition: tmp.hpp:68
Root namespace for the ETL library.
Definition: adapter.hpp:15
void direct_fill(E &&mat, V value)
Fill the given ETL value class with the given value.
Definition: direct_fill.hpp:25
derived_t & operator=(E &&e)
Assign the given expression to the unary expression.
Definition: assignable.hpp:35
View that shows a 2D sub matrix of an expression.
Definition: expr_fwd.hpp:62
derived_t & operator=(const Container &vec) requires(std
Assign the given container to the unary expression.
Definition: assignable.hpp:76
requires(D > 0) struct dyn_base
Matrix with run-time fixed dimensions.
Definition: dyn_base.hpp:113
CRTP class to inject assign operations to matrix and vector structures.
Definition: assignable.hpp:25
decltype(auto) force_temporary_dim_only(E &&expr)
Force a temporary out of the expression with the same dimensions, but the content is not defined...
Definition: temporary.hpp:156