|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.llnl.sidl.BaseArray | +--SIDL.Float.Array | +--SIDL.Float.Array4
Define a four dimensional array of type float
.
This array representation is used for SIDL arrays since it requires
no copies to go between Java and SIDL. Explicit copies may be made
of the array by calling the appropriate get
and
set
methods.
Field Summary |
Fields inherited from class gov.llnl.sidl.BaseArray |
d_array, d_owner |
Constructor Summary | |
|
Float.Array4()
Create an empty four dimensional array. |
|
Float.Array4(float[][][][] array)
Create a four dimensional array using the specified Java array. |
|
Float.Array4(int s0,
int s1,
int s2,
int s3)
Create a four dimenstional array of the specified size, with the lower index starting at zero. |
|
Float.Array4(int l0,
int l1,
int l2,
int l3,
int u0,
int u1,
int u2,
int u3)
Create a four dimensional array using the specified lower and upper bounds (where both bounds are inclusive). |
protected |
Float.Array4(long array,
boolean owner)
Create a four dimensional array directly using the SIDL pointer and owner flag. |
Method Summary | |
float |
_get(int i,
int j,
int k,
int l)
Get the specified array element without bounds checking. |
void |
_set(int i,
int j,
int k,
int l,
float value)
Set the specified array element without bounds checking. |
float[][][][] |
get()
Convert the SIDL array into a Java array. |
float |
get(int i,
int j,
int k,
int l)
Get the specified array element with bounds checking. |
void |
reallocate(int l0,
int l1,
int l2,
int l3,
int u0,
int u1,
int u2,
int u3)
Reallocate array data using the specifed lower and upper bounds. |
void |
set(float[][][][] array)
Set the value of the SIDL array from the Java array. |
void |
set(int i,
int j,
int k,
int l,
float value)
Set the specified array element with bounds checking. |
Methods inherited from class SIDL.Float.Array |
_destroy, _dim, _lower, _reallocate, _upper |
Methods inherited from class gov.llnl.sidl.BaseArray |
checkBounds, checkBounds, checkBounds, checkBounds, checkDimension, checkIndexBounds, checkNullArray, destroy, dim, finalize, isNull, lower, reallocate, reset, upper |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Float.Array4()
protected Float.Array4(long array, boolean owner)
public Float.Array4(int l0, int l1, int l2, int l3, int u0, int u1, int u2, int u3)
public Float.Array4(int s0, int s1, int s2, int s3)
public Float.Array4(float[][][][] array)
Method Detail |
public float _get(int i, int j, int k, int l)
get
instead.
_get
in class Float.Array
public float get(int i, int j, int k, int l)
public void reallocate(int l0, int l1, int l2, int l3, int u0, int u1, int u2, int u3)
public void _set(int i, int j, int k, int l, float value)
set
instead.
_set
in class Float.Array
public void set(int i, int j, int k, int l, float value)
public float[][][][] get()
public void set(float[][][][] array)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |