public class DoubleStorage1D extends Object implements VoxelArrayND
| Modifier and Type | Field and Description |
|---|---|
protected double[] |
fdata |
| Constructor and Description |
|---|
DoubleStorage1D(double[] data) |
DoubleStorage1D(DoubleStorage1D data) |
| Modifier and Type | Method and Description |
|---|---|
VoxelArrayND |
copy() |
double |
get(int index) |
double[] |
get(int[] index) |
double[] |
getArray() |
int[] |
getInverseLocalIndex(int index) |
double[] |
getLocal(int localIndex) |
int |
getLocalIndex(int[] index) |
int |
getLocalStorageDim() |
int |
getValueDimension() |
void |
initialiseWithValue(double val) |
void |
set(int[] index,
double[] val) |
void |
set(int index,
double val) |
void |
setArray(double[] data) |
void |
setLocal(int localIndex,
double[] val) |
public DoubleStorage1D(double[] data)
public DoubleStorage1D(DoubleStorage1D data)
public VoxelArrayND copy()
copy in interface VoxelArrayNDpublic double get(int index)
public double[] get(int[] index)
get in interface VoxelArrayNDpublic double[] getArray()
public int[] getInverseLocalIndex(int index)
getInverseLocalIndex in interface VoxelArrayNDpublic double[] getLocal(int localIndex)
getLocal in interface VoxelArrayNDpublic int getLocalIndex(int[] index)
getLocalIndex in interface VoxelArrayNDpublic int getLocalStorageDim()
getLocalStorageDim in interface VoxelArrayNDpublic int getValueDimension()
getValueDimension in interface VoxelArrayNDpublic void initialiseWithValue(double val)
initialiseWithValue in interface VoxelArrayNDpublic void set(int index,
double val)
public void set(int[] index,
double[] val)
set in interface VoxelArrayNDpublic void setArray(double[] data)
public void setLocal(int localIndex,
double[] val)
setLocal in interface VoxelArrayNDCopyright © 2020 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.