vec_math
Class PowerSpectrum.WelchWindow

java.lang.Object
  extended by vec_math.PowerSpectrum.WelchWindow
All Implemented Interfaces:
Function
Enclosing class:
PowerSpectrum

public static class PowerSpectrum.WelchWindow
extends Object
implements Function

The Welch window function.


Field Summary
private  double inverse
          Inverse of the length.
private  double length
          Length of window as a double.
 
Constructor Summary
PowerSpectrum.WelchWindow(int m)
          Constructs the Bartlett window function with a specified half-length.
 
Method Summary
 double evaluate(double j)
          Evaluates the Bartlett window function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

length

private double length
Length of window as a double.


inverse

private double inverse
Inverse of the length.

Constructor Detail

PowerSpectrum.WelchWindow

public PowerSpectrum.WelchWindow(int m)
Constructs the Bartlett window function with a specified half-length.

Method Detail

evaluate

public double evaluate(double j)
Evaluates the Bartlett window function.

Specified by:
evaluate in interface Function