Ejemplo n.º 1
0
 public unsafe static void ForwardTransform(Complex *buffer, int length, bool swap)
 {
     Fourier.ForwardTransformOrg(buffer, length);
     if (swap)
     {
         Fourier.SwapLR(buffer, length / 2);
         Fourier.SwapLR(buffer + length / 2, length / 2);
     }
 }