edu.neu.ccs
Class XFourier.Type

java.lang.Object
  extended byedu.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.


Constructor Summary
(package private) XFourier.Type()
           
 
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
 

Constructor Detail

XFourier.Type

XFourier.Type()
Method Detail

sin

public abstract double sin(double x)

cos

public abstract double cos(double x)

toString

public abstract String toString()