Skip to content
Snippets Groups Projects
Commit cb14c140 authored by Federico Lolli's avatar Federico Lolli
Browse files

[FFT] added more documentation

parent 40f2df81
No related branches found
Tags
1 merge request!224Draft: Sensor Fault Detection
......@@ -24,6 +24,7 @@
#include <complex.h>
#include <math.h>
#include <Eigen/Core>
namespace Boardcore
......@@ -105,10 +106,10 @@ public:
}
private:
static short n_bits(size_t x)
{
return (short)log2(x);
}
/**
* @brief Get the number of bits to differentiate x elements
*/
static short n_bits(size_t x) { return (short)log2(x); }
/**
* @brief Reverse the bits of the inputted unsigned index.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment