◆ combine
Callable object computing TODO: FILL THIS BLANK. Required header: Members Functions
template<**TODO: FILL THIS BLANK**>
auto operator()( **TODO: FILL THIS BLANK**) const noexcept;
Parameters
OTHER PARAMETERS : TODO: FILL THIS BLANK IF NEEDED BUT RESPECT THE : FORMATTING Return value For TODO: FILL THIS BLANK: auto r = combine(**TODO: FILL THIS BLANK**);
constexpr callable_combine_ combine Callable object computing TODO: FILL THIS BLANK. Definition: combine.hpp:97 is semantically equivalent to: Target r;
{
**TODO: FILL THIS BLANK**
}
else if constexpr( simd_value<T> )
{
**TODO: FILL THIS BLANK**
}
auto operator[]( conditional_expression auto cond ) const noexcept;
Higher-order function generating a masked version of eve::combine Parameters
Return value A Callable object so that the expression Supported decoratorsno decorators are supported ExampleSee it live on Compiler Explorer #include <eve/function/combine.hpp>
#include <eve/wide.hpp>
#include <iostream>
using wide_ft = eve::wide<float, eve::fixed<4>>;
int main()
{
wide_ft pf = {-1.0f, 2.0f, -3.0f, -32768.0f};
auto pf2 = eve::combine(pf,pf);
std::cout << "pf ---> " << pf << "\n";
std::cout << "eve::combine(pf,pf) ---> " << pf2 << "\n";
}
|