public abstract class ArrayView2D extends Object
Abstract ArrayView2D class.
Modifier and Type | Class and Description |
---|---|
static class |
ArrayView2D.DoubleArrayView2D |
static class |
ArrayView2D.IntArrayView2D |
Modifier and Type | Field and Description |
---|---|
protected int |
offset |
protected HjRegion.HjRegion2D |
shape |
Constructor and Description |
---|
ArrayView2D(HjRegion.HjRegion2D pShape,
int pOffset)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
HjRegion.HjRegion2D |
region()
region.
|
protected int |
toLinearIndex(int i,
int j)
toLinearIndex.
|
protected final int offset
protected final HjRegion.HjRegion2D shape
public ArrayView2D(HjRegion.HjRegion2D pShape, int pOffset)
pShape
- a HjRegion.HjRegion2D
object.pOffset
- a int.public HjRegion.HjRegion2D region()
region.
HjRegion.HjRegion2D
object.protected final int toLinearIndex(int i, int j)
toLinearIndex.
i
- a int.j
- a int.Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.