org.encog.util.arrayutil
public class VectorWindow extends Object
Constructor and Description |
---|
VectorWindow(int theSliceCount)
Construct a sliding window.
|
Modifier and Type | Method and Description |
---|---|
void |
add(double[] vec)
Add a single vector to the window.
|
void |
copyWindow(double[] output,
int startPos)
Copy the entire window to a complete vector.
|
boolean |
isReady() |
public VectorWindow(int theSliceCount)
theSliceCount
- The number of slices in a window.public void add(double[] vec)
vec
- The vector to add to the window.public boolean isReady()
public void copyWindow(double[] output, int startPos)
output
- The vector to copy to.startPos
- The starting position to write to.Copyright © 2014. All Rights Reserved.