|
guanaqo
1.0.0-alpha.26
Utilities for scientific software
|
Compile-time lookup table generators.
Definition in file lut.hpp.
#include <array>#include <type_traits>#include <utility>Go to the source code of this file.
Classes | |
| struct | guanaqo::detail::lut< N, Ns... > |
| struct | guanaqo::detail::lut< Arr, Ns... > |
| struct | guanaqo::detail::lut<> |
Namespaces | |
| namespace | guanaqo |
| namespace | guanaqo::detail |
Functions | |
| template<class I, I R, I C, class F> | |
| consteval auto | guanaqo::make_2d_lut (F f) |
| Returns a 2D array of the form: | |
| template<class I, I N, class F> | |
| consteval auto | guanaqo::make_1d_lut (F f) |
| Returns an array of the form: | |
| template<auto... Ranges, class F> | |
| consteval auto | guanaqo::make_lut (F f) |
| Generalization of make_1d_lut and make_2d_lut. | |