E.V.E
v2023.02.15
Loading...
Searching...
No Matches
◆
nb_values
auto eve::nb_values =
functor
<nb_values_t>
inline
constexpr
Defined in Header
#include <eve/module/core.hpp>
Callable Signatures
namespace
eve
{
// Regular overloads
constexpr
auto
nb_values
(
eve::value
auto
x,
eve::value
auto
y)
noexcept
;
// 1
// Lanes masking
constexpr
auto
nb_values
[
conditional_expr
auto
c](
eve::value
auto
x,
eve::value
auto
y)
noexcept
;
// 2
constexpr
auto
nb_values
[
logical_value
auto
m](
eve::value
auto
x,
eve::value
auto
y)
noexcept
;
// 2
}
eve::conditional_expr
Specifies that a type is a Conditional Expression.
Definition
conditional.hpp:28
eve::logical_value
The concept logical_value<T> is satisfied if and only if T satisfies eve::value and the element type ...
Definition
value.hpp:132
eve::value
The concept value<T> is satisfied if and only if T satisfies either eve::scalar_value or eve::simd_va...
Definition
value.hpp:34
eve::nb_values
constexpr auto nb_values
elementwise_callable object computing the number of values representable in the type between the argu...
Definition
nb_values.hpp:72
eve
EVE Main Namespace.
Definition
abi.hpp:18
Parameters
x
,
y
:
values
.
c
:
Conditional expression
masking the operation.
m
:
Logical value
masking the operation.
Return value
Returns the number of values representable in the type in the interval
[x, y[
The operation is performed conditionnaly
.
Example
eve