Module helpers

Module helpers 

Source

Functionsยง

next_power_of_two
Computes the power of two that is equal or greater than n
resize_to_next_power_of_two
Pads the trace table with zeros until the length of the columns of the trace is equal to a power of 2 This is required to ensure that we can use the radix-2 Cooley-Tukey FFT algorithm