public static final class ArrayView3D.DoubleArrayView3D extends ArrayView3D implements HjDoubleArrayView.HjDoubleArrayView3D
ArrayView3D.DoubleArrayView3D, ArrayView3D.IntArrayView3D
HjDoubleArrayView.HjDoubleArrayView1D, HjDoubleArrayView.HjDoubleArrayView2D, HjDoubleArrayView.HjDoubleArrayView3D
offset, shape
Constructor and Description |
---|
DoubleArrayView3D(double[] pDataRavel,
int pOffset,
HjRegion.HjRegion3D pShape)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double[] |
baseArray()
The raw Java 1-D array wrapped by the array view.
|
void |
dec(double v,
int i,
int j,
int k) |
double |
get(int i,
int j,
int k) |
void |
inc(double v,
int i,
int j,
int k) |
void |
set(double v,
int i,
int j,
int k) |
region, toLinearIndex
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
region
public DoubleArrayView3D(double[] pDataRavel, int pOffset, HjRegion.HjRegion3D pShape)
public double[] baseArray()
HjDoubleArrayView
baseArray
in interface HjDoubleArrayView
public double get(int i, int j, int k)
get
in interface HjDoubleArrayView.HjDoubleArrayView3D
i
- The first indexj
- The second indexk
- The third indexpublic void set(double v, int i, int j, int k)
set
in interface HjDoubleArrayView.HjDoubleArrayView3D
v
- The new valuei
- The first indexj
- The second indexk
- The third indexpublic void inc(double v, int i, int j, int k)
inc
in interface HjDoubleArrayView.HjDoubleArrayView3D
public void dec(double v, int i, int j, int k)
dec
in interface HjDoubleArrayView.HjDoubleArrayView3D
Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.