Class DiscreteFourierTransform.Directive

  • Enclosing class:
    DiscreteFourierTransform

    public static final class DiscreteFourierTransform.Directive
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean complex
      Assume input complex (if false, will assume NOT complex and run simpler code).
      boolean conjugate
      Conjugate input before transforming and the output after (before returning).
      boolean scale
      Scale the output by the number of elements.
    • Constructor Summary

      Constructors 
      Constructor Description
      Directive​(boolean complex, boolean conjugate, boolean scale)  
    • Field Detail

      • complex

        public final boolean complex
        Assume input complex (if false, will assume NOT complex and run simpler code).
      • conjugate

        public final boolean conjugate
        Conjugate input before transforming and the output after (before returning). This is how the inverse transform is performed.
      • scale

        public final boolean scale
        Scale the output by the number of elements. Either the transform or the inverse transform needs to be scaled. Usually it's done on the inverse.
    • Constructor Detail

      • Directive

        public Directive​(boolean complex,
                         boolean conjugate,
                         boolean scale)