|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.oregondsp.signalProcessing.Window
public class Window
Base class for implementing windows - partial implementation.
| Constructor Summary | |
|---|---|
Window(float[] w)
Instantiates a new Window from a vector of coefficients. |
|
Window(int N)
Instantiates a new length-N window containing zeros. |
|
| Method Summary | |
|---|---|
float[] |
getArray()
Returns a copy of the coefficients of this window. |
int |
length()
Returns the length of the window in samples. |
void |
timesEquals(float[] x)
Allows a window to be modified in-place by multiplication by another window. |
void |
window(float[] x,
int index,
float[] y)
Windows a sequence and places the result in a specified array. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Window(float[] w)
w - float[] containin the vector of window coefficients.public Window(int N)
N - int specifying the window length in samples.| Method Detail |
|---|
public int length()
public void timesEquals(float[] x)
x - float[] containing the coefficients of the second window, which modifies the first (this) window.public float[] getArray()
public void window(float[] x,
int index,
float[] y)
x - float[] containing the sequence to be windowed by this Window.index - start point in the input sequence at which this Window is applied.y - float[] containing the resulting windowed sequence.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||