Loading [MathJax]/extensions/tex2jax.js
E.V.E
v2023.02.15
 
All Classes Namespaces Functions Variables Typedefs Enumerations Friends Modules Pages Concepts
Loading...
Searching...
No Matches

◆ nb_values

eve::nb_values = functor<nb_values_t>
inlineconstexpr

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
}
Specifies that a type is a Conditional Expression.
Definition: conditional.hpp:28
The concept logical_value<T> is satisfied if and only if T satisfies eve::value and the element type ...
Definition: value.hpp:132
The concept value<T> is satisfied if and only if T satisfies either eve::scalar_value or eve::simd_va...
Definition: value.hpp:34
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 Main Namespace.
Definition: abi.hpp:18

Parameters

Return value

  1. Returns the number of values representable in the type in the interval [x, y[
  2. The operation is performed conditionnaly.

Example