Package samer.units

Class FFTVector

  • All Implemented Interfaces:
    Task


    public class FFTVector
    extends FFT
    implements Task
    Manages a fourier transform from a given Vec into another vector. Can create tasks appropriate for a power spectrum or an arbitrary function of a power spectrum.
    • Constructor Detail

      • FFTVector

        public FFTVector(int N)
                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • FFTVector

        public FFTVector(Vec in)
                  throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • setInput

        public void setInput(Vec in)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • real

        public Vec real()
      • imag

        public Vec imag()
      • starting

        public void starting()
        Specified by:
        starting in interface Task
      • stopping

        public void stopping()
        Specified by:
        stopping in interface Task
      • run

        public void run()
        Specified by:
        run in interface Task
      • dispose

        public void dispose()
        Specified by:
        dispose in interface Task
      • calcTask

        public Task calcTask()