Esempio n. 1
0
        public static void inverse(double[] data)
        {
            FFT.transform_internal(data, 1);
            int    length = data.Length;
            double num    = 1.0 / (double)(length / 2);
            int    index  = 0;

            while (index < length)
            {
                data[index] *= num;
                checked { ++index; }
            }
        }
Esempio n. 2
0
 public static void transform(double[] data)
 {
     FFT.transform_internal(data, -1);
 }