//######################################################################################################################### Class Window public final class Window Describtion: Synthesizes a window function for DSP applications (digital filter design). The length of the window must be >= 2. The following window functions are supported: Rectangular, Triangular, Bartlett, Cosine, Lanczos, Hanning, Hamming, Blackmann, Bartlett–Hann, Nuttall, Blackman–Harris, Blackman–Nuttall, Flat top Methods: public static double[] getWindow(int type, int length) Creates and returns a window function table of size=length. The type of window function is specified by "type". The following window functions are supported: 0 == Rectangular window 1 == Triangular window 2 == Bartlett window 3 == Cosine window 4 == Lanczos window 5 == Hanning window 6 == Hamming window 7 == Blackmann window 8 == Bartlett–Hann window 9 == Nuttall window 10 == Blackman–Harris window 11 == Blackman–Nuttall window 12 == Flat top window Returns: An array of the type double[length] containing the data of the window function. Throws: InvalidParameterException if length<2. if type<0 or type>12 //#########################################################################################################################