|
| | unary_expr (Expr l) |
| | Construct a new unary_expr with the given sub expression. More...
|
| |
|
| unary_expr (const unary_expr &rhs)=default |
| |
|
| unary_expr (unary_expr &&rhs) noexcept=default |
| |
|
unary_expr & | operator= (const unary_expr &rhs)=delete |
| |
|
unary_expr & | operator= (unary_expr &&rhs)=delete |
| |
| value_type | operator[] (size_t i) const |
| | Returns the element at the given index. More...
|
| |
| value_type | read_flat (size_t i) const noexcept |
| | Returns the value at the given index This function never alters the state of the container. More...
|
| |
| template<typename V = default_vec> |
| vec_type< V > | load (size_t i) const |
| | Load several elements of the matrix at once. More...
|
| |
| template<typename V = default_vec> |
| vec_type< V > | loadu (size_t i) const |
| | Load several elements of the matrix at once. More...
|
| |
| template<size_c... S> |
| value_type | operator() (S... args) const |
| | Returns the value at the position (args...) More...
|
| |
| template<typename E > |
| bool | alias (const E &rhs) const noexcept |
| | Test if this expression aliases with the given expression. More...
|
| |
| template<typename Y > |
| decltype(auto) | gpu_compute_hint (Y &y) const |
| | Return a GPU computed version of this expression. More...
|
| |
| template<typename Y > |
| decltype(auto) | gpu_compute (Y &y) const |
| | Return a GPU computed version of this expression. 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 | 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.
|
| |
| 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...
|
| |
| 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_square () const noexcept |
| | Indicates if the expressions is of square dimensions (only for 2d expression) More...
|
| |
| bool | is_rectangular () const noexcept |
| | Indicates if the expressions is of rectangular dimensions (only for 2d expression) More...
|
| |
| bool | is_sub_square () const noexcept |
| | Indicates if the expressions is of square dimensions, ignoring the first dimension (only for 3d expression) More...
|
| |
| bool | is_sub_rectangular () const noexcept |
| | Indicates if the expressions is of rectangular dimensions, ignoring the first dimension (only for 3d expression) More...
|
| |
| bool | is_symmetric () const noexcept |
| | Indicates if the given expression is a symmetric matrix or not. More...
|
| |
| bool | is_lower_triangular () const noexcept |
| | Indicates if the given expression is a lower triangular matrix or not. More...
|
| |
| bool | is_uni_lower_triangular () const noexcept |
| | Indicates if the given expression is a uni lower triangular matrix or not. More...
|
| |
| bool | is_strictly_lower_triangular () const noexcept |
| | Indicates if the given expression is a strictly lower triangular matrix or not. More...
|
| |
| bool | is_upper_triangular () const noexcept |
| | Indicates if the given expression is a upper triangular matrix or not. More...
|
| |
| bool | is_uni_upper_triangular () const noexcept |
| | Indicates if the given expression is a uni upper triangular matrix or not. More...
|
| |
| bool | is_strictly_upper_triangular () const noexcept |
| | Indicates if the given expression is a strictly upper triangular matrix or not. More...
|
| |
| bool | is_triangular () const noexcept |
| | Indicates if the given expression is a triangular matrix or not. 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...
|
| |
template<typename T, expr_or_scalar< T > Expr, typename UnaryOp>
struct etl::unary_expr< T, Expr, UnaryOp >
An unary expression.
This expression applies an unary operator on each element of a sub expression