public void TimeFFTWithSignal() { // initialize the random class RandomUtils.Seed(Guid.NewGuid().GetHashCode()); const int length = 4096; var doubleData = new double[length]; for (int i = 0; i < length; i++) { doubleData[i] = RandomUtils.NextDoubleMinus1ToPlus1(); } FFTTesting.TimeAll(doubleData); }
public void TimeFFTWithIterations() { FFTTesting.TimeAll(50); }