THe double factorial is defined as \(\displaystyle (2n)!! =
\prod_{i=1}^n (2i)\) and \(\displaystyle (2n+1)!! = \prod_{i=0}^n (2i+1)\)
{
template <
unsigned_value T>
constexpr as_wide_as_t<double,T>
double_factorial(T x)
noexcept;
}
Specifies that a type is a Conditional Expression.
Definition: conditional.hpp:27
The concept logical_value<T> is satisfied if and only if T satisfies eve::value and the element type ...
Definition: value.hpp:107
The concept unsigned_value<T> is satisfied if and only if T satisfies eve::value and the element type...
Definition: value.hpp:71
constexpr auto double_factorial
elementwise_callableobject computing the double factorial ofn`
Definition: double_factorial.hpp:77
EVE Main Namespace.
Definition: abi.hpp:18
#include <eve/module/special.hpp>
#include <iostream>
int main()
{
eve::wide wu = {1u, 2u, 3u, 4u, 5u, 6u, 181u, 182u};
std::cout << "<- wu = " << wu << "\n";
}
Conditional expression ignoring the k last lanes from a eve::simd_value.
Definition: conditional.hpp:304
Wrapper for SIMD registers.
Definition: wide.hpp:71