diff options
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +#pragma once + +#include <complex> +#include <vector> + +namespace RIT { + +int bitreverse(int i, int size); + +bool is_power_of_two(unsigned int n); + +std::vector<double> magnitudes(const std::vector<std::complex<double>>& v); + +} // namespace RIT + |