ddf.minim.analysis
Class TriangularWindow

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

public class TriangularWindow
extends WindowFunction

A Triangular window function.

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

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

TriangularWindow

public TriangularWindow()
Constructs a Triangular window.

Method Detail

value

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