com.rapidminer.tools.math.function.window
Class RectangularWindowFunction

java.lang.Object
  extended by com.rapidminer.tools.math.function.window.WindowFunction
      extended by com.rapidminer.tools.math.function.window.RectangularWindowFunction

public class RectangularWindowFunction
extends WindowFunction

A rectangular window function. Results in an equal weighting of data points.

Author:
Tobias Malbrecht

Field Summary
 
Fields inherited from class com.rapidminer.tools.math.function.window.WindowFunction
BARTLETT, BLACKMAN, BLACKMAN_HARRIS, FUNCTION_NAMES, FUNCTIONS, GAUSSIAN, HAMMING, HANN, JUSTIFY_CENTER, JUSTIFY_LEFT, JUSTIFY_RIGHT, RECTANGULAR, TRIANGULAR
 
Constructor Summary
RectangularWindowFunction(java.lang.Integer width)
           
RectangularWindowFunction(java.lang.Integer width, java.lang.Integer justification)
           
 
Method Summary
protected  double getValue(int width, int n)
           
 
Methods inherited from class com.rapidminer.tools.math.function.window.WindowFunction
createWindowFunction, createWindowFunction, createWindowFunction, createWindowFunction, getValue, getWeights
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RectangularWindowFunction

public RectangularWindowFunction(java.lang.Integer width)

RectangularWindowFunction

public RectangularWindowFunction(java.lang.Integer width,
                                 java.lang.Integer justification)
Method Detail

getValue

protected double getValue(int width,
                          int n)
Specified by:
getValue in class WindowFunction


Copyright © 2001-2009 by Rapid-I