Constructor and Description |
---|
SimpleFloat3(float[][][] a)
Constructs an array of elements for the specified array.
|
SimpleFloat3(int n1,
int n2,
int n3)
Constructs an array of elements initialized to zero.
|
Modifier and Type | Method and Description |
---|---|
void |
get1(int m1,
int j1,
int j2,
int j3,
float[] s)
Gets the specified subarray of elements into the specified 1-D array.
|
void |
get12(int m1,
int m2,
int j1,
int j2,
int j3,
float[][] s)
Gets the specified subarray of elements into the specified 2-D array.
|
void |
get123(int m1,
int m2,
int m3,
int j1,
int j2,
int j3,
float[] s)
Gets the specified subarray of elements into the specified 1-D array.
|
void |
get123(int m1,
int m2,
int m3,
int j1,
int j2,
int j3,
float[][][] s)
Gets the specified subarray of elements into the specified 3-D array.
|
void |
get13(int m1,
int m3,
int j1,
int j2,
int j3,
float[][] s)
Gets the specified subarray of elements into the specified 2-D array.
|
void |
get2(int m2,
int j1,
int j2,
int j3,
float[] s)
Gets the specified subarray of elements into the specified 1-D array.
|
void |
get23(int m2,
int m3,
int j1,
int j2,
int j3,
float[][] s)
Gets the specified subarray of elements into the specified 2-D array.
|
void |
get3(int m3,
int j1,
int j2,
int j3,
float[] s)
Gets the specified subarray of elements into the specified 1-D array.
|
int |
getN1()
Gets the number of elements in 1st dimension of this array.
|
int |
getN2()
Gets the number of elements in 2nd dimension of this array.
|
int |
getN3()
Gets the number of elements in 3rd dimension of this array.
|
void |
set1(int m1,
int j1,
int j2,
int j3,
float[] s)
Sets the specified subarray of elements from the specified 1-D array.
|
void |
set12(int m1,
int m2,
int j1,
int j2,
int j3,
float[][] s)
Sets the specified subarray of elements from the specified 2-D array.
|
void |
set123(int m1,
int m2,
int m3,
int j1,
int j2,
int j3,
float[] s)
Sets the specified subarray of elements from the specified 1-D array.
|
void |
set123(int m1,
int m2,
int m3,
int j1,
int j2,
int j3,
float[][][] s)
Sets the specified subarray of elements from the specified 3-D array.
|
void |
set13(int m1,
int m3,
int j1,
int j2,
int j3,
float[][] s)
Sets the specified subarray of elements from the specified 2-D array.
|
void |
set2(int m2,
int j1,
int j2,
int j3,
float[] s)
Sets the specified subarray of elements from the specified 1-D array.
|
void |
set23(int m2,
int m3,
int j1,
int j2,
int j3,
float[][] s)
Sets the specified subarray of elements from the specified 2-D array.
|
void |
set3(int m3,
int j1,
int j2,
int j3,
float[] s)
Sets the specified subarray of elements from the specified 1-D array.
|
public SimpleFloat3(int n1, int n2, int n3)
n1
- the 1st dimension of the array[n3][n2][n1].n2
- the 2nd dimension of the array[n3][n2][n1].n3
- the 3rd dimension of the array[n3][n2][n1].public SimpleFloat3(float[][][] a)
a
- array[n3][n2][n1] of elements to be referenced.public int getN1()
Float3
public int getN2()
Float3
public int getN3()
Float3
public void get1(int m1, int j1, int j2, int j3, float[] s)
Float3
get1
in interface Float3
m1
- number of elements in 1st dimension of subarray.j1
- index of first element in 1st dimension of subarray.j2
- index of first element in 2nd dimension of subarray.j3
- index of first element in 3rd dimension of subarray.s
- array[m1] of elements of the specified subarray.public void get2(int m2, int j1, int j2, int j3, float[] s)
Float3
get2
in interface Float3
m2
- number of elements in 2nd dimension of subarray.j1
- index of first element in 1st dimension of subarray.j2
- index of first element in 2nd dimension of subarray.j3
- index of first element in 3rd dimension of subarray.s
- array[m2] of elements of the specified subarray.public void get3(int m3, int j1, int j2, int j3, float[] s)
Float3
get3
in interface Float3
m3
- number of elements in 3rd dimension of subarray.j1
- index of first element in 1st dimension of subarray.j2
- index of first element in 2nd dimension of subarray.j3
- index of first element in 3rd dimension of subarray.s
- array[m3] of elements of the specified subarray.public void get12(int m1, int m2, int j1, int j2, int j3, float[][] s)
Float3
get12
in interface Float3
m1
- number of elements in 1st dimension of subarray.m2
- number of elements in 2nd dimension of subarray.j1
- index of first element in 1st dimension of subarray.j2
- index of first element in 2nd dimension of subarray.j3
- index of first element in 3rd dimension of subarray.s
- array[m2][m1] of elements of the specified subarray.public void get13(int m1, int m3, int j1, int j2, int j3, float[][] s)
Float3
get13
in interface Float3
m1
- number of elements in 1st dimension of subarray.m3
- number of elements in 3rd dimension of subarray.j1
- index of first element in 1st dimension of subarray.j2
- index of first element in 2nd dimension of subarray.j3
- index of first element in 3rd dimension of subarray.s
- array[m3][m1] of elements of the specified subarray.public void get23(int m2, int m3, int j1, int j2, int j3, float[][] s)
Float3
get23
in interface Float3
m2
- number of elements in 2nd dimension of subarray.m3
- number of elements in 3rd dimension of subarray.j1
- index of first element in 1st dimension of subarray.j2
- index of first element in 2nd dimension of subarray.j3
- index of first element in 3rd dimension of subarray.s
- array[m3][m2] of elements of the specified subarray.public void get123(int m1, int m2, int m3, int j1, int j2, int j3, float[][][] s)
Float3
get123
in interface Float3
m1
- number of elements in 1st dimension of subarray.m2
- number of elements in 2nd dimension of subarray.m3
- number of elements in 3rd dimension of subarray.j1
- index of first element in 1st dimension of subarray.j2
- index of first element in 2nd dimension of subarray.j3
- index of first element in 3rd dimension of subarray.s
- array[m3][m2][m1] of elements of the specified subarray.public void get123(int m1, int m2, int m3, int j1, int j2, int j3, float[] s)
Float3
get123
in interface Float3
m1
- number of elements in 1st dimension of subarray.m2
- number of elements in 2nd dimension of subarray.m3
- number of elements in 3rd dimension of subarray.j1
- index of first element in 1st dimension of subarray.j2
- index of first element in 2nd dimension of subarray.j3
- index of first element in 3rd dimension of subarray.s
- array[m1*m2*m3] of elements of the specified subarray.public void set1(int m1, int j1, int j2, int j3, float[] s)
Float3
set1
in interface Float3
m1
- number of elements in 1st dimension of subarray.j1
- index of first element in 1st dimension of subarray.j2
- index of first element in 2nd dimension of subarray.j3
- index of first element in 3rd dimension of subarray.s
- array[m1] of elements of the specified subarray.public void set2(int m2, int j1, int j2, int j3, float[] s)
Float3
set2
in interface Float3
m2
- number of elements in 2nd dimension of subarray.j1
- index of first element in 1st dimension of subarray.j2
- index of first element in 2nd dimension of subarray.j3
- index of first element in 3rd dimension of subarray.s
- array[m2] of elements of the specified subarray.public void set3(int m3, int j1, int j2, int j3, float[] s)
Float3
set3
in interface Float3
m3
- number of elements in 3rd dimension of subarray.j1
- index of first element in 1st dimension of subarray.j2
- index of first element in 2nd dimension of subarray.j3
- index of first element in 3rd dimension of subarray.s
- array[m3] of elements of the specified subarray.public void set12(int m1, int m2, int j1, int j2, int j3, float[][] s)
Float3
set12
in interface Float3
m1
- number of elements in 1st dimension of subarray.m2
- number of elements in 2nd dimension of subarray.j1
- index of first element in 1st dimension of subarray.j2
- index of first element in 2nd dimension of subarray.j3
- index of first element in 3rd dimension of subarray.s
- array[m2][m1] of elements of the specified subarray.public void set13(int m1, int m3, int j1, int j2, int j3, float[][] s)
Float3
set13
in interface Float3
m1
- number of elements in 1st dimension of subarray.m3
- number of elements in 3rd dimension of subarray.j1
- index of first element in 1st dimension of subarray.j2
- index of first element in 2nd dimension of subarray.j3
- index of first element in 3rd dimension of subarray.s
- array[m3][m1] of elements of the specified subarray.public void set23(int m2, int m3, int j1, int j2, int j3, float[][] s)
Float3
set23
in interface Float3
m2
- number of elements in 2nd dimension of subarray.m3
- number of elements in 3rd dimension of subarray.j1
- index of first element in 1st dimension of subarray.j2
- index of first element in 2nd dimension of subarray.j3
- index of first element in 3rd dimension of subarray.s
- array[m3][m2] of elements of the specified subarray.public void set123(int m1, int m2, int m3, int j1, int j2, int j3, float[][][] s)
Float3
set123
in interface Float3
m1
- number of elements in 1st dimension of subarray.m2
- number of elements in 2nd dimension of subarray.m3
- number of elements in 3rd dimension of subarray.j1
- index of first element in 1st dimension of subarray.j2
- index of first element in 2nd dimension of subarray.j3
- index of first element in 3rd dimension of subarray.s
- array[m3][m2][m1] of elements of the specified subarray.public void set123(int m1, int m2, int m3, int j1, int j2, int j3, float[] s)
Float3
set123
in interface Float3
m1
- number of elements in 1st dimension of subarray.m2
- number of elements in 2nd dimension of subarray.m3
- number of elements in 3rd dimension of subarray.j1
- index of first element in 1st dimension of subarray.j2
- index of first element in 2nd dimension of subarray.j3
- index of first element in 3rd dimension of subarray.s
- array[m1*m2*m3] of elements of the specified subarray.