Combinatorial functions.
This module provides implementation for scalar and SIMD versions of combinatorial functions and related operations.
Convenience header:
Variables | |
constexpr callable_bernouilli_ | eve::bernouilli = {} |
Computes the nth Bernouilli number \(b_n\) as a double. More... | |
constexpr callable_fibonacci_ | eve::fibonacci = {} |
Computes the nth element of the Fibonacci sequence \((f_i)_{i\in \mathbb{N}}\). More... | |
constexpr callable_gcd_ | eve::gcd = {} |
Computes the greatest common divisor of the inputs. More... | |
constexpr callable_lcm_ | eve::lcm = {} |
Computes the least common multiple of the inputs. More... | |
constexpr callable_nth_prime_ | eve::nth_prime = {} |
Returns the nth prime number. More... | |
constexpr callable_prime_ceil_ | eve::prime_ceil = {} |
Returns the smallest prime greater or equal to the input. More... | |
constexpr callable_prime_floor_ | eve::prime_floor = {} |
Returns the the greatest prime less or equal to the input. More... | |