edu.neu.ccs
Class XFourier.Type

java.lang.Object
  |
  +--edu.neu.ccs.XFourier.Type
Enclosing class:
XFourier

public abstract static class XFourier.Type
extends Object

The abstract class to define the sin and cos functions for the given input type. Intended to be implemented for either radians or degrees.

The constructor has package access so only the two instances defined here can be instantiated. This is done since otherwise it would be impossible to handle variants in XFourier.fromStringData.


Method Summary
abstract  double cos(double x)
           
abstract  double sin(double x)
           
abstract  String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

sin

public abstract double sin(double x)

cos

public abstract double cos(double x)

toString

public abstract String toString()
Overrides:
toString in class Object