Interface Dft1d.Double

All Superinterfaces:
Dft1d
All Known Implementing Classes:
Dft1dDirect.Double, Dft1dFast.Double
Enclosing interface:
Dft1d

public static interface Dft1d.Double extends Dft1d
Sub-interface for 1D DFT implementations operating on double data.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface imagingbook.spectral.dft.Dft1d

    Dft1d.Double, Dft1d.Float
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    checkSize(double[] re, double[] im)
     
    void
    forward(double[] gRe, double[] gIm)
    Performs an "in-place" 1D DFT forward transformation on the supplied double data.
    void
    inverse(double[] GRe, double[] GIm)
    Performs an "in-place" 1D DFT inverse transformation on the supplied double spectrum.
    void
    transform(double[] inRe, double[] inIm, boolean forward)
    Transforms the given 1D arrays 'in-place'.

    Methods inherited from interface imagingbook.spectral.dft.Dft1d

    getScalingMode, getSize
  • Method Details

    • forward

      void forward(double[] gRe, double[] gIm)
      Performs an "in-place" 1D DFT forward transformation on the supplied double data. The input signal is replaced by the associated DFT spectrum.
      Parameters:
      gRe - real part of the signal (modified)
      gIm - imaginary part of the signal (modified)
    • inverse

      void inverse(double[] GRe, double[] GIm)
      Performs an "in-place" 1D DFT inverse transformation on the supplied double spectrum. The input spectrum is replaced by the associated signal.
      Parameters:
      GRe - real part of the spectrum (modified)
      GIm - imaginary part of the spectrum (modified)
    • transform

      void transform(double[] inRe, double[] inIm, boolean forward)
      Transforms the given 1D arrays 'in-place'. Separate arrays of identical size must be supplied for the real and imaginary parts of the signal (forward) or spectrum (inverse), neither of which may be null.
      Parameters:
      inRe - real part of the input signal or spectrum (modified)
      inIm - imaginary part of the input signal or spectrum (modified)
      forward - forward transformation if true, inverse transformation if false
    • checkSize

      default void checkSize(double[] re, double[] im)