|
Expression Templates Library (ETL)
|
Unary operation applying a normal noise. More...
#include <noise.hpp>
Static Public Member Functions | |
| static constexpr int | complexity () |
| Estimate the complexity of operator. More... | |
| static T | apply (const T &x) |
| Apply the unary operator on x. 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. | |
| static constexpr bool | thread_safe = false |
| Indicates if the operator is thread safe or not. | |
| template<vector_mode_t V> | |
| static constexpr bool | vectorizable = false |
| Indicates if the expression is vectorizable using the given vector mode. More... | |
| template<typename E > | |
| static constexpr bool | gpu_computable = false |
| Indicates if the operator can be computed on GPU. | |
Unary operation applying a normal noise.
| T | The type of value |
|
inlinestatic |
Apply the unary operator on x.
| x | The value on which to apply the operator |
|
inlinestatic |
Estimate the complexity of operator.
|
inlinestaticnoexcept |
Returns a textual representation of the operator.
|
static |
Indicates if the expression is vectorizable using the given vector mode.
| V | The vector mode |
1.8.13