org.opensourcephysics.sip.ch09
Class FFTApp

java.lang.Object
  extended by org.opensourcephysics.controls.AbstractCalculation
      extended by org.opensourcephysics.sip.ch09.FFTApp
All Implemented Interfaces:
Calculation

public class FFTApp
extends AbstractCalculation

FFTApp tests the FFT class by computing the transform of a complex exponential.


Field Summary
 
Fields inherited from class org.opensourcephysics.controls.AbstractCalculation
control, decimalFormat, mainFrame
 
Constructor Summary
FFTApp()
           
 
Method Summary
 void calculate()
          Main method for FFTApp program.
static void main(java.lang.String[] args)
          Starts the Java application by creating the CalculationControl and the Calculation.
 void reset()
          Resets the program to its default state.
 
Methods inherited from class org.opensourcephysics.controls.AbstractCalculation
addChildFrame, clearChildFrames, getChildFrames, getLoader, getMainFrame, getOSPApp, resetCalculation, setControl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FFTApp

public FFTApp()
Method Detail

calculate

public void calculate()
Main method for FFTApp program.

Specified by:
calculate in interface Calculation
Specified by:
calculate in class AbstractCalculation
Parameters:
args - command line arguments

reset

public void reset()
Description copied from class: AbstractCalculation
Resets the program to its default state. Override this method to set the program's parameters.

Overrides:
reset in class AbstractCalculation

main

public static void main(java.lang.String[] args)
Starts the Java application by creating the CalculationControl and the Calculation.

Parameters:
args - String[]