1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
public static void calcFFT(LogicalDiskData[] tab)
{
List<FFT.Complex> listComplex = new List<FFT.Complex>();
for (int i = 1; i < tab.Length - 1; i++)
{
TimeSpan difftime = tab[tab.Length - 1].date - tab[0].date;
FFT.Complex fftComp = new FFT.Complex(tab[tab.Length - 1].useSpace, 0.0);
listComplex.Add(fftComp);
FFT fft = new FFT();
listComplex = fft.FFT_Calc(listComplex);
foreach (FFT.Complex com in listComplex)
{
Console.WriteLine("Reel : " + com.Re.ToString() +" Imaginaire : " + com.Im.ToString());
}
}
} |
Partager