Unary operation applying an uniform noise (0.0, 1.0(.
More...
#include <noise.hpp>
|
| 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 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.
|
| |
template<typename T>
struct etl::uniform_noise_unary_op< T >
Unary operation applying an uniform noise (0.0, 1.0(.
- Template Parameters
-
◆ apply()
Apply the unary operator on x.
- Parameters
-
| x | The value on which to apply the operator |
- Returns
- The result of applying the unary operator on x
◆ complexity()
Estimate the complexity of operator.
- Returns
- An estimation of the complexity of the operator
◆ desc()
Returns a textual representation of the operator.
- Returns
- a string representing the operator
◆ vectorizable
template<typename T >
template<vector_mode_t V>
Indicates if the expression is vectorizable using the given vector mode.
- Template Parameters
-
The documentation for this struct was generated from the following file: