ddf.minim.analysis
Class BartlettWindow

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

public class BartlettWindow
extends WindowFunction

A Bartlett window function.

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

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

BartlettWindow

public BartlettWindow()
Constructs a Bartlett window.

Method Detail

value

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