E.V.E  0.1-beta

◆ shuffle

eve::shuffle = {}
inlineconstexpr

Callable object computing TODO: FILL THIS BLANK.

Required header: #include <eve/function/shuffle.hpp>

Members Functions

Member Effect
operator() TODO: FILL THIS BLANK
operator[] Construct a conditional version of current function object

template<**TODO: FILL THIS BLANK**>
auto operator()( **TODO: FILL THIS BLANK**) const noexcept;

Parameters

x: TODO: FILL THIS BLANK

OTHER PARAMETERS : TODO: FILL THIS BLANK IF NEEDED BUT RESPECT THE : FORMATTING

Return value

For TODO: FILL THIS BLANK:

auto r = shuffle(**TODO: FILL THIS BLANK**);
constexpr callable_shuffle_ shuffle
Callable object computing TODO: FILL THIS BLANK.
Definition: shuffle.hpp:94

is semantically equivalent to:

Target r;
if constexpr( scalar_value<T> )
{
**TODO: FILL THIS BLANK**
}
else if constexpr( simd_value<T> )
{
**TODO: FILL THIS BLANK**
}
Specify that a type represents a scalar value.
Definition: vectorizable.hpp:70

auto operator[]( conditional_expression auto cond ) const noexcept;

Higher-order function generating a masked version of eve::shuffle

Parameters

cond : conditional expression

Return value

A Callable object so that the expression shuffle[cond](x, ...) is equivalent to if_else(cond,shuffle(x, ...),x)


Supported decorators

no decorators are supported

Example

See it live on Compiler Explorer