ddf.minim.analysis
Class CosineWindow

java.lang.Object
  extended by ddf.minim.analysis.WindowFunction
      extended by ddf.minim.analysis.CosineWindow

public class CosineWindow
extends WindowFunction

A Cosine window function.

Author:
Damien Di Fede, Corban Brook
See Also:
The Cosine Window

Field Summary
 
Fields inherited from class ddf.minim.analysis.WindowFunction
length, TWO_PI
 
Constructor Summary
CosineWindow()
          Constructs a Cosine window.
 
Method Summary
protected  float value(int length, int index)
           
 
Methods inherited from class ddf.minim.analysis.WindowFunction
apply, generateCurve
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CosineWindow

public CosineWindow()
Constructs a Cosine window.

Method Detail

value

protected float value(int length,
                      int index)
Specified by:
value in class WindowFunction