FftAlgorithm
JavaScript is disabled on your browser.

br.usp.ime.dspbenchmarking.algorithms

Class FftAlgorithm



  • public class FftAlgorithm
    extends DspAlgorithm
    A simple algorithm that calculates a one way FFT.
    • Constructor Summary

      Constructors 
      Constructor and Description
      FftAlgorithm(int sRate, int bSize)
      Constructor.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getAlgorithmName() 
      void perform(double[] real)
      Perform a one-way FFT.
      void setBlockSize(int bSize)
      Reconfigure the FFT when block size changes.
      • Methods inherited from class java.lang.Object

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

      • fft

        private FFT fft
    • Constructor Detail

      • FftAlgorithm

        public FftAlgorithm(int sRate,
                    int bSize)
        Constructor.
    • Method Detail

      • perform

        public void perform(double[] real)
        Perform a one-way FFT.
        Specified by:
        perform in class DspAlgorithm
      • setBlockSize

        public void setBlockSize(int bSize)
        Reconfigure the FFT when block size changes.
        Overrides:
        setBlockSize in class DspAlgorithm
      • getAlgorithmName

        public java.lang.String getAlgorithmName()
        Specified by:
        getAlgorithmName in class DspAlgorithm
        Returns:
        The name of the algorithm.