42 return *
static_cast<const derived_t*
>(
this);
const derived_t & as_derived() const noexcept
Returns a reference to the derived object, i.e. the object using the CRTP injector.
Definition: value_testable.hpp:41
bool is_finite() const noexcept
Indicates if the expression contains only finite values.
Definition: value_testable.hpp:49
bool is_uniform(E &&expr)
Indicates if the given expression is uniform (all elements of the same value)
Definition: globals.hpp:90
bool is_diagonal() const noexcept
Indicates if the expression is diagonal.
Definition: value_testable.hpp:65
bool is_zero() const noexcept
Indicates if the expression contains only zero values.
Definition: value_testable.hpp:57
D D
The number of dimensions.
Definition: dyn_matrix_view.hpp:24
An unary expression.
Definition: unary_expr.hpp:126
CRTP class to inject functions testing values of the expressions.
Definition: value_testable.hpp:26
Root namespace for the ETL library.
Definition: adapter.hpp:15
bool is_diagonal(E &&expr)
Indicates if the given expression is a diagonal matrix or not.
Definition: adapters.hpp:318
bool is_uniform() const noexcept
Indicates if the expression is uniform, i.e. all elements are of the same value.
Definition: value_testable.hpp:73
derived_t & as_derived() noexcept
Returns a reference to the derived object, i.e. the object using the CRTP injector.
Definition: value_testable.hpp:33
typename decay_traits< E >::value_type value_t
Traits to extract the value type out of an ETL type.
Definition: tmp.hpp:81