public class BorderIndex1D_Reflect extends BorderIndex1D
Access to outside the array are reflected back into the array around the closest border. This is an even symmetric function, e.g. f(-1) = f(1) = 1, f(-2) = f(2) = 2.
length| Constructor and Description |
|---|
BorderIndex1D_Reflect() |
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex(int index) |
getLength, setLengthpublic int getIndex(int index)
getIndex in class BorderIndex1DCopyright © 2013. All Rights Reserved.