RandLib 2.0.0
Probability distributions, fitting, and heavy-tail tools for C++20
Loading...
Searching...
No Matches
ziggurat_tables.hpp File Reference
#include <array>
#include <utility>
Include dependency graph for ziggurat_tables.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  randlib
 
namespace  randlib::detail
 

Variables

constexpr std::array< std::pair< long double, long double >, 257 > randlib::detail::normalZiggurat
 (exp(-x^2 / 2), x) at the layer boundaries of the normal ziggurat
 
constexpr std::array< std::pair< long double, long double >, 257 > randlib::detail::exponentialZiggurat
 (exp(-x), x) at the layer boundaries of the exponential ziggurat