ddf.minim.analysis
Class HannWindow

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

public class HannWindow
extends WindowFunction

A Hann window function.

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

Field Summary
 
Fields inherited from class ddf.minim.analysis.WindowFunction
length, TWO_PI
 
Constructor Summary
HannWindow()
          Constructs a Hann 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

HannWindow

public HannWindow()
Constructs a Hann window.

Method Detail

value

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