Class FFT


  • public class FFT
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected float[] w1  
      protected float[] w2  
      protected float[] w3  
    • Constructor Summary

      Constructors 
      Constructor Description
      FFT​(int logN)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void transform1D​(float[] real, float[] imag, int logN, int n, boolean forward)  
      void transform2D​(float[] real, float[] imag, int cols, int rows, boolean forward)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • w1

        protected float[] w1
      • w2

        protected float[] w2
      • w3

        protected float[] w3
    • Constructor Detail

      • FFT

        public FFT​(int logN)
    • Method Detail

      • transform1D

        public void transform1D​(float[] real,
                                float[] imag,
                                int logN,
                                int n,
                                boolean forward)
      • transform2D

        public void transform2D​(float[] real,
                                float[] imag,
                                int cols,
                                int rows,
                                boolean forward)