#include "phase_table.hpp" #include #include const std::array phase_table = [] { std::array table; for (size_t k = 0; k < PHASE_TABLE_SIZE; k++) { table[k] = std::sin(k * 2.0 * M_PI / PHASE_TABLE_SIZE); } return table; }();