lib/minim/src/ddf/minim/analysis/WindowFunction.java
/** 
   * Generates the curve of the window function.
   * 
   * @param length the length of the window
   * @return the shape of the window function
   */
Generates the curve of the window function.

@param length the length of the window
@return the shape of the window function
Generates the curve of the window function . @param length the length of the window @return the shape of the window function
public float[] generateCurve(int length)
  {
    float[] samples = new float[length];
    for (int n = 0; n < length; n++) 
    {
      samples[n] = 1f * value(length, n);  
    }
    return samples;
  }
public float [ ] generateCurve ( int length ) { float [ ] samples = new float [ length ] ; for ( int n = 0 ; n < length ; n ++ ) { samples [ n ] = 1f * value ( length , n ) ; } return samples ; }
Generates the curve of the window function.
Generates the curve of the window function .