|
Expression Templates Library (ETL)
|
Binary operator for scalar division. More...
#include <div.hpp>
Public Types | |
| template<typename V = default_vec> | |
| using | vec_type = typename V::template vec_type< T > |
Static Public Member Functions | |
| static constexpr int | complexity () |
| Estimate the complexity of operator. More... | |
| static constexpr T | apply (const T &lhs, const T &rhs) noexcept |
| Apply the unary operator on lhs and rhs. More... | |
| template<typename V = default_vec> | |
| static vec_type< V > | load (const vec_type< V > &lhs, const vec_type< V > &rhs) noexcept |
| Compute several applications of the operator at a time. More... | |
| template<typename L , typename R , typename Y > | |
| static auto | gpu_compute_hint (const L &lhs, const R &rhs, Y &y) noexcept |
| Compute the result of the operation using the GPU. More... | |
| template<typename L , typename R , typename Y > | |
| static Y & | gpu_compute (const L &lhs, const R &rhs, Y &yy) noexcept |
| Compute the result of the operation using the GPU. More... | |
| static std::string | desc () noexcept |
| Returns a textual representation of the operator. More... | |
Static Public Attributes | |
| static constexpr bool | linear = true |
| Indicates if the operator is linear or not. | |
| static constexpr bool | thread_safe = true |
| Indicates if the operator is thread safe or not. | |
| static constexpr bool | desc_func = false |
| Indicates if the description must be printed as function. | |
| template<vector_mode_t V> | |
| static constexpr bool | vectorizable = is_floating_t<T> || (is_complex_t<T> && V != vector_mode_t::AVX512) |
| Indicates if the expression is vectorizable using the given vector mode. More... | |
| template<typename L , typename R > | |
| static constexpr bool | gpu_computable |
| Indicates if the operator can be computd on GPU. More... | |
Binary operator for scalar division.
| using etl::div_binary_op< T >::vec_type = typename V::template vec_type<T> |
The vectorization type for V
|
inlinestaticnoexcept |
Apply the unary operator on lhs and rhs.
| lhs | The left hand side value on which to apply the operator |
| rhs | The right hand side value on which to apply the operator |
|
inlinestatic |
Estimate the complexity of operator.
|
inlinestaticnoexcept |
Returns a textual representation of the operator.
|
inlinestaticnoexcept |
Compute the result of the operation using the GPU.
| lhs | The left hand side value on which to apply the operator |
| rhs | The right hand side value on which to apply the operator |
|
inlinestaticnoexcept |
Compute the result of the operation using the GPU.
| lhs | The left hand side value on which to apply the operator |
| rhs | The right hand side value on which to apply the operator |
|
inlinestaticnoexcept |
Compute several applications of the operator at a time.
| lhs | The left hand side vector |
| rhs | The right hand side vector |
| V | The vectorization mode |
|
static |
Indicates if the operator can be computd on GPU.
|
static |
Indicates if the expression is vectorizable using the given vector mode.
| V | The vector mode |
Note: Integer division is not yet supported
1.8.13