vec_math
Class PowerSpectrum.SquareWindow
java.lang.Object
vec_math.PowerSpectrum.SquareWindow
- All Implemented Interfaces:
- Function
- Enclosing class:
- PowerSpectrum
public static class PowerSpectrum.SquareWindow
- extends Object
- implements Function
The Rectangular window function.
|
Field Summary |
private double |
length
Length of window as a double. |
|
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 |
length
private double length
- Length of window as a double.
PowerSpectrum.SquareWindow
public PowerSpectrum.SquareWindow(int m)
- Constructs the Bartlett window function with a specified
half-length.
evaluate
public double evaluate(double j)
- Evaluates the Bartlett window function.
- Specified by:
evaluate in interface Function