All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.math.array.longArray3D
java.lang.Object
|
+----com.ibm.math.array.Array
|
+----com.ibm.math.array.longArray
|
+----com.ibm.math.array.longArray3D
- public final class longArray3D
- extends longArray
longArray3D = 3-dimensional array of longs
The longArray3D concrete class implements 3-dimensional arrays
of longs. 3-dimensional arrays can either be instantiated directly
through constructors, or they can begenerated by extracting sections
from other 3- or higher-dimensional arrays.
-
longArray3D(int, int, int)
- Create a 3-dimensional array of a certain shape.
-
longArray3D(long[][][])
- Create a 3-dimensional array, with shape and values defined by
a Java long[][][].
-
longArray3D(longArray3D)
- Create a new 3-dimensional array as a copy of a given
longArray3D
-
assign(long)
- Assign a scalar value to all elements of the array.
-
assign(longArray3D)
- Assign the values from another 3-dimensional array to this array.
-
div(long)
- Each array element is divided by a scalar and the data
computed is returned in a new array
-
div(long, longArray3D)
- Each array element is divided by a scalar and the data
computed is returned in the result array parameter
-
div(longArray3D)
- Divides each array element by the corresponding array element and return the data
computed in a new array
-
div(longArray3D, longArray3D)
- Divides each array element by the corresponding array element and return the data
computed in the result array parameter
-
divAssign(long)
- div combined with assignment to this array
-
divAssign(longArray3D)
- div combined with assignment to this array
-
equals(long)
- Computes, element by element, the result of the comparison:
element of this array equals to scalar
and return all the results in a new booleanArray3D of the
same shape as this array.
-
equals(long, booleanArray3D)
- Computes, element by element, the result of the comparison:
element of this array equals to scalar
and return all the results in the result array.
-
equals(longArray3D)
- Computes, element by element, the result of the comparison:
element of this array equals to parameter array (arrayin) element
and return all the results in a new booleanArray3D of the
same shape as both arrays.
-
equals(longArray3D, booleanArray3D)
- Computes, element by element, the result of the comparison:
element of this array equals to parameter array (arrayin) element
and return all the results in the result array.
-
get(Index, Index, Index)
- Extract selected elements of this longArray3D into a new longArray3D.
-
get(Index, Index, Index, longArray3D)
- Extract selected elements of this longArray3D into a longArray3D.
-
get(Index, Index, int)
- Extract selected elements of this longArray3D into a new longArray2D.
-
get(Index, Index, int, longArray2D)
- Extract selected elements of this longArray3D into a longArray2D.
-
get(Index, Index, Range)
- Extract selected elements of this longArray3D into a new longArray3D.
-
get(Index, Index, Range, longArray3D)
- Extract selected elements of this longArray3D into a longArray3D.
-
get(Index, int, Index)
- Extract selected elements of this longArray3D into a new longArray2D.
-
get(Index, int, Index, longArray2D)
- Extract selected elements of this longArray3D into a longArray2D.
-
get(Index, int, int)
- Extract selected elements of this longArray3D into a new longArray1D.
-
get(Index, int, int, longArray1D)
- Extract selected elements of this longArray3D into a longArray1D.
-
get(Index, int, Range)
- Extract selected elements of this longArray3D into a new longArray2D.
-
get(Index, int, Range, longArray2D)
- Extract selected elements of this longArray3D into a longArray2D.
-
get(Index, Range, Index)
- Extract selected elements of this longArray3D into a new longArray3D.
-
get(Index, Range, Index, longArray3D)
- Extract selected elements of this longArray3D into a longArray3D.
-
get(Index, Range, int)
- Extract selected elements of this longArray3D into a new longArray2D.
-
get(Index, Range, int, longArray2D)
- Extract selected elements of this longArray3D into a longArray2D.
-
get(Index, Range, Range)
- Extract selected elements of this longArray3D into a new longArray3D.
-
get(Index, Range, Range, longArray3D)
- Extract selected elements of this longArray3D into a longArray3D.
-
get(int, Index, Index)
- Extract selected elements of this longArray3D into a new longArray2D.
-
get(int, Index, Index, longArray2D)
- Extract selected elements of this longArray3D into a longArray2D.
-
get(int, Index, int)
- Extract selected elements of this longArray3D into a new longArray1D.
-
get(int, Index, int, longArray1D)
- Extract selected elements of this longArray3D into a longArray1D.
-
get(int, Index, Range)
- Extract selected elements of this longArray3D into a new longArray2D.
-
get(int, Index, Range, longArray2D)
- Extract selected elements of this longArray3D into a longArray2D.
-
get(int, int, Index)
- Extract selected elements of this longArray3D into a new longArray1D.
-
get(int, int, Index, longArray1D)
- Extract selected elements of this longArray3D into a longArray1D.
-
get(int, int, int)
- Return the value of an element of the array.
-
get(int, int, Range)
- Extract selected elements of this longArray3D into a new longArray1D.
-
get(int, int, Range, longArray1D)
- Extract selected elements of this longArray3D into a longArray1D.
-
get(int, Range, Index)
- Extract selected elements of this longArray3D into a new longArray2D.
-
get(int, Range, Index, longArray2D)
- Extract selected elements of this longArray3D into a longArray2D.
-
get(int, Range, int)
- Extract selected elements of this longArray3D into a new longArray1D.
-
get(int, Range, int, longArray1D)
- Extract selected elements of this longArray3D into a longArray1D.
-
get(int, Range, Range)
- Extract selected elements of this longArray3D into a new longArray2D.
-
get(int, Range, Range, longArray2D)
- Extract selected elements of this longArray3D into a longArray2D.
-
get(int[])
- Return the value of an element of the array.
-
get(Range, Index, Index)
- Extract selected elements of this longArray3D into a new longArray3D.
-
get(Range, Index, Index, longArray3D)
- Extract selected elements of this longArray3D into a longArray3D.
-
get(Range, Index, int)
- Extract selected elements of this longArray3D into a new longArray2D.
-
get(Range, Index, int, longArray2D)
- Extract selected elements of this longArray3D into a longArray2D.
-
get(Range, Index, Range)
- Extract selected elements of this longArray3D into a new longArray3D.
-
get(Range, Index, Range, longArray3D)
- Extract selected elements of this longArray3D into a longArray3D.
-
get(Range, int, Index)
- Extract selected elements of this longArray3D into a new longArray2D.
-
get(Range, int, Index, longArray2D)
- Extract selected elements of this longArray3D into a longArray2D.
-
get(Range, int, int)
- Extract selected elements of this longArray3D into a new longArray1D.
-
get(Range, int, int, longArray1D)
- Extract selected elements of this longArray3D into a longArray1D.
-
get(Range, int, Range)
- Extract selected elements of this longArray3D into a new longArray2D.
-
get(Range, int, Range, longArray2D)
- Extract selected elements of this longArray3D into a longArray2D.
-
get(Range, Range, Index)
- Extract selected elements of this longArray3D into a new longArray3D.
-
get(Range, Range, Index, longArray3D)
- Extract selected elements of this longArray3D into a longArray3D.
-
get(Range, Range, int)
- Extract selected elements of this longArray3D into a new longArray2D.
-
get(Range, Range, int, longArray2D)
- Extract selected elements of this longArray3D into a longArray2D.
-
get(Range, Range, Range)
- Extract selected elements of this longArray3D into a new longArray3D.
-
get(Range, Range, Range, longArray3D)
- Extract selected elements of this longArray3D into a longArray3D.
-
greater(long)
- Computes, element by element, the result of the comparison:
element of this array greater than scalar
and return all the results in a new booleanArray3D of the
same shape as this array.
-
greater(long, booleanArray3D)
- Computes, element by element, the result of the comparison:
element of this array greater than scalar
and return all the results in the result array.
-
greater(longArray3D)
- Computes, element by element, the result of the comparison:
element of this array greater than parameter array (arrayin) element
and return all the results in a new booleanArray3D of the
same shape as both arrays.
-
greater(longArray3D, booleanArray3D)
- Computes, element by element, the result of the comparison:
element of this array greater than parameter array (arrayin) element
and return all the results in the result array.
-
greaterEquals(long)
- Computes, element by element, the result of the comparison:
element of this array greater than or equals to scalar
and return all the results in a new booleanArray3D of the
same shape as this array.
-
greaterEquals(long, booleanArray3D)
- Computes, element by element, the result of the comparison:
element of this array greater than or equals to scalar
and return all the results in the result array.
-
greaterEquals(longArray3D)
- Computes, element by element, the result of the comparison:
element of this array greater than or equals to parameter array (arrayin) element
and return all the results in a new booleanArray3D of the
same shape as both arrays.
-
greaterEquals(longArray3D, booleanArray3D)
- Computes, element by element, the result of the comparison:
element of this array greater than or equals to parameter array (arrayin) element
and return all the results in the result array.
-
last(int)
- Return the index of the last element along its i-th axis.
-
less(long)
- Computes, element by element, the result of the comparison:
element of this array less than scalar
and return all the results in a new booleanArray3D of the
same shape as this array.
-
less(long, booleanArray3D)
- Computes, element by element, the result of the comparison:
element of this array less than scalar
and return all the results in the result array.
-
less(longArray3D)
- Computes, element by element, the result of the comparison:
element of this array less than parameter array (arrayin) element
and return all the results in a new booleanArray3D of the
same shape as both arrays.
-
less(longArray3D, booleanArray3D)
- Computes, element by element, the result of the comparison:
element of this array less than parameter array (arrayin) element
and return all the results in the result array.
-
lessEquals(long)
- Computes, element by element, the result of the comparison:
element of this array less than or equals to scalar
and return all the results in a new booleanArray3D of the
same shape as this array.
-
lessEquals(long, booleanArray3D)
- Computes, element by element, the result of the comparison:
element of this array less than or equals to scalar
and return all the results in the result array.
-
lessEquals(longArray3D)
- Computes, element by element, the result of the comparison:
element of this array less than or equals to parameter array (arrayin) element
and return all the results in a new booleanArray3D of the
same shape as both arrays.
-
lessEquals(longArray3D, booleanArray3D)
- Computes, element by element, the result of the comparison:
element of this array less than or equals to parameter array (arrayin) element
and return all the results in the result array.
-
minus(long)
- Subtracts a scalar from each array element and return the data
computed in a new array
-
minus(long, longArray3D)
- Subtracts a scalar from each array element and return the data
computed in the result array parameter
-
minus(longArray3D)
- Subtracts the corresponding array element from each array element and return the data
computed in a new array
-
minus(longArray3D, longArray3D)
- Subtracts the corresponding array element from each array element and return the data
computed in the result array parameter
-
minusAssign(long)
- minus combined with assignment to this array
-
minusAssign(longArray3D)
- minus combined with assignment to this array
-
permuteAxes(int, int, int)
- Permute the axes of this array, thus creating a reference
to its (generic) transpose.
-
permuteAxes(int[])
- Permute the axes of this array, thus creating a reference
to its (generic) transpose.
-
plus(long)
- Adds a scalar to each array element and return the data
computed in a new array
-
plus(long, longArray3D)
- Adds a scalar to each array element and return the data
computed in the result array parameter
-
plus(longArray3D)
- Adds the corresponding array element to each array element and return the data
computed in a new array
-
plus(longArray3D, longArray3D)
- Adds the corresponding array element to each array element and return the data
computed in the result array parameter
-
plusAssign(long)
- plus combined with assignment to this array
-
plusAssign(longArray3D)
- plus combined with assignment to this array
-
rank()
- Return the rank of the 3-dimensional array, 3.
-
rem(long)
- Each array element is divided by a scalar and the remaining of
the integer division computed is returned in a new array
-
rem(long, longArray3D)
- Each array element is divided by a scalar and the remaining of
the integer division computed is returned in the result array parameter
-
rem(longArray3D)
- Each array element is divided by a scalar and the remaining of
the integer division computed is returned in a new array
-
rem(longArray3D, longArray3D)
- Each array element is divided by a scalar and the remaining of
the integer division computed is returned in the result array parameter
-
remAssign(long)
- rem combined with assignment to this array
-
remAssign(longArray3D)
- rem combined with assignment to this array
-
reshape()
- This method reshapes this array into an array with
rank 0, each parameter gives the size
in each array dimension, the array returned has a copy
of the data from this array, it does not share data
with this array
-
reshape(int)
- This method reshapes this array into an array with
rank 1, each parameter gives the size
in each array dimension, the array returned has a copy
of the data from this array, it does not share data
with this array
-
reshape(int, int)
- This method reshapes this array into an array with
rank 2, each parameter gives the size
in each array dimension, the array returned has a copy
of the data from this array, it does not share data
with this array
-
reshape(int, int, int)
- This method reshapes this array into an array with
rank 3, each parameter gives the size
in each array dimension, the array returned has a copy
of the data from this array, it does not share data
with this array
-
reshape(int[])
- This method is the implementation of the Array interface
reshape that simply call the apropriate version of reshape
given the target rank.
-
section(int, int, int)
- Extract a 0-dimensional section from the array.
-
section(int, int, Range)
- Extract a 1-dimensional section from the array.
-
section(int, Range, int)
- Extract a 1-dimensional section from the array.
-
section(int, Range, Range)
- Extract a 2-dimensional section from the array.
-
section(Range, int, int)
- Extract a 1-dimensional section from the array.
-
section(Range, int, Range)
- Extract a 2-dimensional section from the array.
-
section(Range, Range, int)
- Extract a 2-dimensional section from the array.
-
section(Range, Range, Range)
- Extract a 3-dimensional section from the array.
-
set(Index, Index, Index, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(Index, Index, Index, longArray3D)
- Update the value of the selected elements of this longArray3D with the data in a longArray3D.
-
set(Index, Index, int, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(Index, Index, int, longArray2D)
- Update the value of the selected elements of this longArray3D with the data in a longArray2D.
-
set(Index, Index, Range, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(Index, Index, Range, longArray3D)
- Update the value of the selected elements of this longArray3D with the data in a longArray3D.
-
set(Index, int, Index, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(Index, int, Index, longArray2D)
- Update the value of the selected elements of this longArray3D with the data in a longArray2D.
-
set(Index, int, int, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(Index, int, int, longArray1D)
- Update the value of the selected elements of this longArray3D with the data in a longArray1D.
-
set(Index, int, Range, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(Index, int, Range, longArray2D)
- Update the value of the selected elements of this longArray3D with the data in a longArray2D.
-
set(Index, Range, Index, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(Index, Range, Index, longArray3D)
- Update the value of the selected elements of this longArray3D with the data in a longArray3D.
-
set(Index, Range, int, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(Index, Range, int, longArray2D)
- Update the value of the selected elements of this longArray3D with the data in a longArray2D.
-
set(Index, Range, Range, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(Index, Range, Range, longArray3D)
- Update the value of the selected elements of this longArray3D with the data in a longArray3D.
-
set(int, Index, Index, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(int, Index, Index, longArray2D)
- Update the value of the selected elements of this longArray3D with the data in a longArray2D.
-
set(int, Index, int, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(int, Index, int, longArray1D)
- Update the value of the selected elements of this longArray3D with the data in a longArray1D.
-
set(int, Index, Range, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(int, Index, Range, longArray2D)
- Update the value of the selected elements of this longArray3D with the data in a longArray2D.
-
set(int, int, Index, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(int, int, Index, longArray1D)
- Update the value of the selected elements of this longArray3D with the data in a longArray1D.
-
set(int, int, int, long)
- Set the value of an element of the array.
-
set(int, int, Range, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(int, int, Range, longArray1D)
- Update the value of the selected elements of this longArray3D with the data in a longArray1D.
-
set(int, Range, Index, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(int, Range, Index, longArray2D)
- Update the value of the selected elements of this longArray3D with the data in a longArray2D.
-
set(int, Range, int, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(int, Range, int, longArray1D)
- Update the value of the selected elements of this longArray3D with the data in a longArray1D.
-
set(int, Range, Range, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(int, Range, Range, longArray2D)
- Update the value of the selected elements of this longArray3D with the data in a longArray2D.
-
set(int[], long)
- Set the value of an element of the array.
-
set(Range, Index, Index, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(Range, Index, Index, longArray3D)
- Update the value of the selected elements of this longArray3D with the data in a longArray3D.
-
set(Range, Index, int, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(Range, Index, int, longArray2D)
- Update the value of the selected elements of this longArray3D with the data in a longArray2D.
-
set(Range, Index, Range, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(Range, Index, Range, longArray3D)
- Update the value of the selected elements of this longArray3D with the data in a longArray3D.
-
set(Range, int, Index, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(Range, int, Index, longArray2D)
- Update the value of the selected elements of this longArray3D with the data in a longArray2D.
-
set(Range, int, int, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(Range, int, int, longArray1D)
- Update the value of the selected elements of this longArray3D with the data in a longArray1D.
-
set(Range, int, Range, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(Range, int, Range, longArray2D)
- Update the value of the selected elements of this longArray3D with the data in a longArray2D.
-
set(Range, Range, Index, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(Range, Range, Index, longArray3D)
- Update the value of the selected elements of this longArray3D with the data in a longArray3D.
-
set(Range, Range, int, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(Range, Range, int, longArray2D)
- Update the value of the selected elements of this longArray3D with the data in a longArray2D.
-
set(Range, Range, Range, long)
- Update the value of the selected elements of this longArray3D with the data in datain.
-
set(Range, Range, Range, longArray3D)
- Update the value of the selected elements of this longArray3D with the data in a longArray3D.
-
shape()
- Return the shape of the array as an int[] I of length 3.
-
size()
- Return the number of elements in the array.
-
size(int)
- Return the extent of the array along its i-th axis.
-
times(long)
- Each array element is multiplied by the scalar parameter and the data
computed is returned in a new array
-
times(long, longArray3D)
- Each array element is multiplied by scalar and the data computed
is returned in result array parameter
-
times(longArray3D)
- Multiplies each array element by its corresponding array element and return the data
computed in a new array
-
times(longArray3D, longArray3D)
- Multiplies each array element by its corresponding array element and return the data
computed in the result array parameter
-
timesAssign(long)
- times combined with assignment to this array
-
timesAssign(longArray3D)
- times combined with assignment to this array
-
toJava()
- Transforms this longArray3D to a long[][][].
-
unequals(long)
- Computes, element by element, the result of the comparison:
element of this array not equals to scalar
and return all the results in a new booleanArray3D of the
same shape as this array.
-
unequals(long, booleanArray3D)
- Computes, element by element, the result of the comparison:
element of this array not equals to scalar
and return all the results in the result array.
-
unequals(longArray3D)
- Computes, element by element, the result of the comparison:
element of this array not equals to parameter array (arrayin) element
and return all the results in a new booleanArray3D of the
same shape as both arrays.
-
unequals(longArray3D, booleanArray3D)
- Computes, element by element, the result of the comparison:
element of this array not equals to parameter array (arrayin) element
and return all the results in the result array.
longArray3D
public longArray3D(int n0,
int n1,
int n2) throws InvalidArrayShapeException
- Create a 3-dimensional array of a certain shape.
Elements are 0-valued
- Parameters:
- n0 - extent of the array along 0th axis
- n1 - extent of the array along 1th axis
- n2 - extent of the array along 2th axis
- Throws: InvalidArrayShapeException
- all extents must be nonnegative
longArray3D
public longArray3D(longArray3D arrayin)
- Create a new 3-dimensional array as a copy of a given
longArray3D
- Parameters:
- arrayin - Array to copy
longArray3D
public longArray3D(long datain[][][]) throws InvalidArrayShapeException
- Create a 3-dimensional array, with shape and values defined by
a Java long[][][].
- Parameters:
- datain - Java long[][][] defining shape and values of the array
- Throws: InvalidArrayShapeException
- The Java array must be rectangular
assign
public void assign(long value)
- Assign a scalar value to all elements of the array.
- Parameters:
- d - value to be assigned
assign
public void assign(longArray3D arrayin) throws NonconformingArrayException
- Assign the values from another 3-dimensional array to this array.
- Parameters:
- a - array with source values
- Throws: NonconformingArrayException
- arrays must be of same shape
rank
public int rank()
- Return the rank of the 3-dimensional array, 3.
- Overrides:
- rank in class Array
shape
public int[] shape()
- Return the shape of the array as an int[] I of length 3.
ret[0] = size(0)
ret[1] = size(1)
ret[2] = size(2)
- Overrides:
- shape in class Array
size
public int size()
- Return the number of elements in the array.
- Returns:
- the total number of elements
- Overrides:
- size in class Array
size
public int size(int i) throws InvalidArrayAxisException
- Return the extent of the array along its i-th axis.
- Parameters:
- i - array axis (0 <= i < rank())
- Returns:
- the number of elements along axis i
- Throws: InvalidArrayAxisException
- i must be between 0 and 2
- Overrides:
- size in class Array
last
public int last(int i) throws InvalidArrayAxisException
- Return the index of the last element along its i-th axis.
the value returned is simply size(i)-1, but is convenient
to have such a method because last(i) is more readable than
size(i)-1.
- Parameters:
- i - array axis (0 <= i < rank())
- Returns:
- the index of the last element along axis i
- Throws: InvalidArrayAxisException
- i must be between 0 and 2
- Overrides:
- last in class Array
permuteAxes
public Array permuteAxes(int permarray[]) throws InvalidArrayAxisException
- Permute the axes of this array, thus creating a reference
to its (generic) transpose.
- Parameters:
- array - an array indicating the permutation to be done.
ex: for a 2D array array2D.PermuteAxis({1,0});
would permute the array, but array2D.PermuteAxis({0,1});
returns the same array
- Throws: InvalidArrayAxisException
- 0 <= a0,a1 <= 1
- Overrides:
- permuteAxes in class Array
permuteAxes
public longArray3D permuteAxes(int a0,
int a1,
int a2) throws InvalidArrayAxisException
- Permute the axes of this array, thus creating a reference
to its (generic) transpose.
- Parameters:
- a0 - Axis to appear as 0 axis (0 to 2)
- a1 - Axis to appear as 0 axis (0 to 2)
- a2 - Axis to appear as 0 axis (0 to 2)
- Throws: InvalidArrayAxisException
- Axes must be in valid range and all different
reshape
public Array reshape(int size[]) throws NonconformingArrayException
- This method is the implementation of the Array interface
reshape that simply call the apropriate version of reshape
given the target rank.
- Parameters:
- size - size[i] is the extent of the result array along the i axis.
- Throws: NonconformingArrayException
- The size of the resulting array
must be compatible with this array, and in the range of ranks supported
by this implementation.
- Overrides:
- reshape in class Array
reshape
public longArray0D reshape() throws NonconformingArrayException
- This method reshapes this array into an array with
rank 0, each parameter gives the size
in each array dimension, the array returned has a copy
of the data from this array, it does not share data
with this array
- Throws: NonconformingArrayException
- the product of all parameters
must be equal to size of this array
reshape
public longArray1D reshape(int size0) throws NonconformingArrayException
- This method reshapes this array into an array with
rank 1, each parameter gives the size
in each array dimension, the array returned has a copy
of the data from this array, it does not share data
with this array
- Parameters:
- size0: - extent of resulting array along axis #0
- Throws: NonconformingArrayException
- the product of all parameters
must be equal to size of this array
reshape
public longArray2D reshape(int size0,
int size1) throws NonconformingArrayException
- This method reshapes this array into an array with
rank 2, each parameter gives the size
in each array dimension, the array returned has a copy
of the data from this array, it does not share data
with this array
- Parameters:
- size0: - extent of resulting array along axis #0
- size1: - extent of resulting array along axis #1
- Throws: NonconformingArrayException
- the product of all parameters
must be equal to size of this array
reshape
public longArray3D reshape(int size0,
int size1,
int size2) throws NonconformingArrayException
- This method reshapes this array into an array with
rank 3, each parameter gives the size
in each array dimension, the array returned has a copy
of the data from this array, it does not share data
with this array
- Parameters:
- size0: - extent of resulting array along axis #0
- size1: - extent of resulting array along axis #1
- size2: - extent of resulting array along axis #2
- Throws: NonconformingArrayException
- the product of all parameters
must be equal to size of this array
section
public longArray0D section(int idx0,
int idx1,
int idx2) throws ArrayIndexOutOfBoundsException
- Extract a 0-dimensional section from the array.
- Parameters:
- i0 - index along axis n# 0 defining the section
- i1 - index along axis n# 1 defining the section
- i2 - index along axis n# 2 defining the section
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
section
public longArray1D section(int idx0,
int idx1,
Range idx2) throws ArrayIndexOutOfBoundsException
- Extract a 1-dimensional section from the array.
- Parameters:
- i0 - index along axis n# 0 defining the section
- i1 - index along axis n# 1 defining the section
- i2 - range of indices along axis n# 2 defining the section
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
section
public longArray1D section(int idx0,
Range idx1,
int idx2) throws ArrayIndexOutOfBoundsException
- Extract a 1-dimensional section from the array.
- Parameters:
- i0 - index along axis n# 0 defining the section
- i1 - range of indices along axis n# 1 defining the section
- i2 - index along axis n# 2 defining the section
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
section
public longArray2D section(int idx0,
Range idx1,
Range idx2) throws ArrayIndexOutOfBoundsException
- Extract a 2-dimensional section from the array.
- Parameters:
- i0 - index along axis n# 0 defining the section
- i1 - range of indices along axis n# 1 defining the section
- i2 - range of indices along axis n# 2 defining the section
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
section
public longArray1D section(Range idx0,
int idx1,
int idx2) throws ArrayIndexOutOfBoundsException
- Extract a 1-dimensional section from the array.
- Parameters:
- i0 - range of indices along axis n# 0 defining the section
- i1 - index along axis n# 1 defining the section
- i2 - index along axis n# 2 defining the section
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
section
public longArray2D section(Range idx0,
int idx1,
Range idx2) throws ArrayIndexOutOfBoundsException
- Extract a 2-dimensional section from the array.
- Parameters:
- i0 - range of indices along axis n# 0 defining the section
- i1 - index along axis n# 1 defining the section
- i2 - range of indices along axis n# 2 defining the section
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
section
public longArray2D section(Range idx0,
Range idx1,
int idx2) throws ArrayIndexOutOfBoundsException
- Extract a 2-dimensional section from the array.
- Parameters:
- i0 - range of indices along axis n# 0 defining the section
- i1 - range of indices along axis n# 1 defining the section
- i2 - index along axis n# 2 defining the section
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
section
public longArray3D section(Range idx0,
Range idx1,
Range idx2) throws ArrayIndexOutOfBoundsException
- Extract a 3-dimensional section from the array.
- Parameters:
- i0 - range of indices along axis n# 0 defining the section
- i1 - range of indices along axis n# 1 defining the section
- i2 - range of indices along axis n# 2 defining the section
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public long get(int index[]) throws InvalidArrayIndexException, ArrayIndexOutOfBoundsException
- Return the value of an element of the array.
- Parameters:
- index, - index[i] = index along i-th axis, 0 <= index[i] < size(i)
- Throws: InvalidArrayIndexException
- index[] must be of length 3
- Overrides:
- get in class longArray
get
public long get(int idx0,
int idx1,
int idx2) throws ArrayIndexOutOfBoundsException
- Return the value of an element of the array.
- Parameters:
- idx0 - index along the axis n# 0 of the array.
- idx1 - index along the axis n# 1 of the array.
- idx2 - index along the axis n# 2 of the array.
get
public longArray1D get(int idx0,
int idx1,
Range idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray1D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(int idx0,
int idx1,
Range idx2,
longArray1D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray1D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public longArray1D get(int idx0,
int idx1,
Index idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray1D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(int idx0,
int idx1,
Index idx2,
longArray1D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray1D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public longArray1D get(int idx0,
Range idx1,
int idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray1D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(int idx0,
Range idx1,
int idx2,
longArray1D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray1D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public longArray2D get(int idx0,
Range idx1,
Range idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(int idx0,
Range idx1,
Range idx2,
longArray2D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public longArray2D get(int idx0,
Range idx1,
Index idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(int idx0,
Range idx1,
Index idx2,
longArray2D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public longArray1D get(int idx0,
Index idx1,
int idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray1D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(int idx0,
Index idx1,
int idx2,
longArray1D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray1D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public longArray2D get(int idx0,
Index idx1,
Range idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(int idx0,
Index idx1,
Range idx2,
longArray2D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public longArray2D get(int idx0,
Index idx1,
Index idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(int idx0,
Index idx1,
Index idx2,
longArray2D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public longArray1D get(Range idx0,
int idx1,
int idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray1D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(Range idx0,
int idx1,
int idx2,
longArray1D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray1D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public longArray2D get(Range idx0,
int idx1,
Range idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(Range idx0,
int idx1,
Range idx2,
longArray2D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public longArray2D get(Range idx0,
int idx1,
Index idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(Range idx0,
int idx1,
Index idx2,
longArray2D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public longArray2D get(Range idx0,
Range idx1,
int idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(Range idx0,
Range idx1,
int idx2,
longArray2D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public longArray3D get(Range idx0,
Range idx1,
Range idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray3D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(Range idx0,
Range idx1,
Range idx2,
longArray3D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray3D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public longArray3D get(Range idx0,
Range idx1,
Index idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray3D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(Range idx0,
Range idx1,
Index idx2,
longArray3D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray3D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public longArray2D get(Range idx0,
Index idx1,
int idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(Range idx0,
Index idx1,
int idx2,
longArray2D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public longArray3D get(Range idx0,
Index idx1,
Range idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray3D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(Range idx0,
Index idx1,
Range idx2,
longArray3D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray3D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public longArray3D get(Range idx0,
Index idx1,
Index idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray3D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(Range idx0,
Index idx1,
Index idx2,
longArray3D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray3D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public longArray1D get(Index idx0,
int idx1,
int idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray1D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(Index idx0,
int idx1,
int idx2,
longArray1D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray1D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public longArray2D get(Index idx0,
int idx1,
Range idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(Index idx0,
int idx1,
Range idx2,
longArray2D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public longArray2D get(Index idx0,
int idx1,
Index idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(Index idx0,
int idx1,
Index idx2,
longArray2D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public longArray2D get(Index idx0,
Range idx1,
int idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(Index idx0,
Range idx1,
int idx2,
longArray2D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public longArray3D get(Index idx0,
Range idx1,
Range idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray3D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(Index idx0,
Range idx1,
Range idx2,
longArray3D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray3D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public longArray3D get(Index idx0,
Range idx1,
Index idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray3D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(Index idx0,
Range idx1,
Index idx2,
longArray3D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray3D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public longArray2D get(Index idx0,
Index idx1,
int idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(Index idx0,
Index idx1,
int idx2,
longArray2D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public longArray3D get(Index idx0,
Index idx1,
Range idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray3D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(Index idx0,
Index idx1,
Range idx2,
longArray3D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray3D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public longArray3D get(Index idx0,
Index idx1,
Index idx2) throws ArrayIndexOutOfBoundsException
- Extract selected elements of this longArray3D into a new longArray3D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public void get(Index idx0,
Index idx1,
Index idx2,
longArray3D result) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Extract selected elements of this longArray3D into a longArray3D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- result - resulting array
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(int index[],
long d) throws InvalidArrayIndexException, ArrayIndexOutOfBoundsException
- Set the value of an element of the array.
- Parameters:
- index - index[i] = index along i-th axis, 0 <= index[i] < size(i)
- d - value to which element is set
- Throws: InvalidArrayIndexException
- index[] must be of length 3
- Overrides:
- set in class longArray
set
public void set(int idx0,
int idx1,
int idx2,
long val) throws ArrayIndexOutOfBoundsException
- Set the value of an element of the array.
- Parameters:
- idx0 - index along the axis n# 0 of the array
- idx1 - index along the axis n# 1 of the array
- idx2 - index along the axis n# 2 of the array
- val - value to which element is set
set
public void set(int idx0,
int idx1,
Range idx2,
longArray1D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray1D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(int idx0,
int idx1,
Range idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(int idx0,
int idx1,
Index idx2,
longArray1D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray1D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(int idx0,
int idx1,
Index idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(int idx0,
Range idx1,
int idx2,
longArray1D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray1D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(int idx0,
Range idx1,
int idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(int idx0,
Range idx1,
Range idx2,
longArray2D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(int idx0,
Range idx1,
Range idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(int idx0,
Range idx1,
Index idx2,
longArray2D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(int idx0,
Range idx1,
Index idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(int idx0,
Index idx1,
int idx2,
longArray1D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray1D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(int idx0,
Index idx1,
int idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(int idx0,
Index idx1,
Range idx2,
longArray2D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(int idx0,
Index idx1,
Range idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(int idx0,
Index idx1,
Index idx2,
longArray2D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(int idx0,
Index idx1,
Index idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Range idx0,
int idx1,
int idx2,
longArray1D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray1D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Range idx0,
int idx1,
int idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Range idx0,
int idx1,
Range idx2,
longArray2D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Range idx0,
int idx1,
Range idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Range idx0,
int idx1,
Index idx2,
longArray2D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Range idx0,
int idx1,
Index idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Range idx0,
Range idx1,
int idx2,
longArray2D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Range idx0,
Range idx1,
int idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Range idx0,
Range idx1,
Range idx2,
longArray3D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray3D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Range idx0,
Range idx1,
Range idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Range idx0,
Range idx1,
Index idx2,
longArray3D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray3D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Range idx0,
Range idx1,
Index idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Range idx0,
Index idx1,
int idx2,
longArray2D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Range idx0,
Index idx1,
int idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Range idx0,
Index idx1,
Range idx2,
longArray3D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray3D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Range idx0,
Index idx1,
Range idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Range idx0,
Index idx1,
Index idx2,
longArray3D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray3D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Range idx0,
Index idx1,
Index idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Index idx0,
int idx1,
int idx2,
longArray1D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray1D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Index idx0,
int idx1,
int idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Index idx0,
int idx1,
Range idx2,
longArray2D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Index idx0,
int idx1,
Range idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Index idx0,
int idx1,
Index idx2,
longArray2D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Index idx0,
int idx1,
Index idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Index idx0,
Range idx1,
int idx2,
longArray2D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Index idx0,
Range idx1,
int idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Index idx0,
Range idx1,
Range idx2,
longArray3D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray3D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Index idx0,
Range idx1,
Range idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Index idx0,
Range idx1,
Index idx2,
longArray3D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray3D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Index idx0,
Range idx1,
Index idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Index idx0,
Index idx1,
int idx2,
longArray2D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray2D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Index idx0,
Index idx1,
int idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Index idx0,
Index idx1,
Range idx2,
longArray3D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray3D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Index idx0,
Index idx1,
Range idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Index idx0,
Index idx1,
Index idx2,
longArray3D arrayin) throws ArrayIndexOutOfBoundsException, NonconformingArrayException
- Update the value of the selected elements of this longArray3D with the data in a longArray3D.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- arrayin - array containing the input data
- Throws: NonconformingArrayException
- shapes must match
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
set
public void set(Index idx0,
Index idx1,
Index idx2,
long datain) throws ArrayIndexOutOfBoundsException
- Update the value of the selected elements of this longArray3D with the data in datain.
- Parameters:
- idx0 - indexes along the axis n# 0 of the array
- idx1 - indexes along the axis n# 1 of the array
- idx2 - indexes along the axis n# 2 of the array
- datain - set all elements with this value
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
plus
public void plus(long scalar,
longArray3D result) throws NonconformingArrayException
- Adds a scalar to each array element and return the data
computed in the result array parameter
- Parameters:
- scalar - long to be added to each array element
- result - longArray3D Object that will store the result
- Throws: NonconformingArrayException
- shapes must match
plus
public longArray3D plus(long scalar)
- Adds a scalar to each array element and return the data
computed in a new array
- Parameters:
- scalar - long to be added to each array element
plus
public void plus(longArray3D arrayin,
longArray3D result) throws NonconformingArrayException
- Adds the corresponding array element to each array element and return the data
computed in the result array parameter
- Parameters:
- arrayin - longArray3D to be added element by element
- result - longArray3D Object that will store the result
- Throws: NonconformingArrayException
- shapes must match
plus
public longArray3D plus(longArray3D array) throws NonconformingArrayException
- Adds the corresponding array element to each array element and return the data
computed in a new array
- Parameters:
- array - longArray3D to be added element by element
- Throws: NonconformingArrayException
- shapes must match
plusAssign
public longArray3D plusAssign(long scalar)
- plus combined with assignment to this array
- Parameters:
- scalar - The second source operand
plusAssign
public longArray3D plusAssign(longArray3D array) throws NonconformingArrayException
- plus combined with assignment to this array
- Parameters:
- array - The second source operand
- Throws: NonconformingArrayException
- shapes must match
minus
public void minus(long scalar,
longArray3D result) throws NonconformingArrayException
- Subtracts a scalar from each array element and return the data
computed in the result array parameter
@param scalar long to be subtracted from each array element
- Parameters:
- result - longArray3D Object that will store the result
- Throws: NonconformingArrayException
- shapes must match
minus
public longArray3D minus(long scalar)
- Subtracts a scalar from each array element and return the data
computed in a new array
- Parameters:
- scalar - long to be subtracted from each array element
- Throws: NonconformingArrayException
- shapes must match
minus
public void minus(longArray3D arrayin,
longArray3D result) throws NonconformingArrayException
- Subtracts the corresponding array element from each array element and return the data
computed in the result array parameter
- Parameters:
- arrayin - longArray3D to be subtracted element by element
- result - longArray3D Object that will store the result
- Throws: NonconformingArrayException
- shapes must match
minus
public longArray3D minus(longArray3D array) throws NonconformingArrayException
- Subtracts the corresponding array element from each array element and return the data
computed in a new array
- Parameters:
- array - longArray3D to be added element by element
- Throws: NonconformingArrayException
- shapes must match
minusAssign
public longArray3D minusAssign(long scalar)
- minus combined with assignment to this array
- Parameters:
- scalar - The second source operand
minusAssign
public longArray3D minusAssign(longArray3D array) throws NonconformingArrayException
- minus combined with assignment to this array
- Parameters:
- array - The second source operand
- Throws: NonconformingArrayException
- shapes must match
times
public void times(long scalar,
longArray3D result) throws NonconformingArrayException
- Each array element is multiplied by scalar and the data computed
is returned in result array parameter
- Parameters:
- scalar - each array element is multiplied by this long value
- result - longArray3D Object that will store the result
- Throws: NonconformingArrayException
- shapes must match
times
public longArray3D times(long scalar)
- Each array element is multiplied by the scalar parameter and the data
computed is returned in a new array
- Parameters:
- scalar - each array element is multiplied by this long value
times
public void times(longArray3D arrayin,
longArray3D result) throws NonconformingArrayException
- Multiplies each array element by its corresponding array element and return the data
computed in the result array parameter
- Parameters:
- arrayin - longArray3D to be multiplied element by element
- result - longArray3D Object that will store the result
- Throws: NonconformingArrayException
- shapes must match
times
public longArray3D times(longArray3D array) throws NonconformingArrayException
- Multiplies each array element by its corresponding array element and return the data
computed in a new array
- Parameters:
- array - longArray3D to be added element by element
- Throws: NonconformingArrayException
- shapes must match
timesAssign
public longArray3D timesAssign(long scalar)
- times combined with assignment to this array
- Parameters:
- scalar - The second source operand
timesAssign
public longArray3D timesAssign(longArray3D array) throws NonconformingArrayException
- times combined with assignment to this array
- Parameters:
- array - The second source operand
- Throws: NonconformingArrayException
- shapes must match
div
public void div(long scalar,
longArray3D result) throws NonconformingArrayException
- Each array element is divided by a scalar and the data
computed is returned in the result array parameter
- Parameters:
- scalar - Each array element is divided by this long
- result - longArray3D Object that will store the result
- Throws: NonconformingArrayException
- shapes must match
div
public longArray3D div(long scalar)
- Each array element is divided by a scalar and the data
computed is returned in a new array
- Parameters:
- scalar - Each array element is divided by this long
- Throws: NonconformingArrayException
- shapes must match
div
public void div(longArray3D arrayin,
longArray3D result) throws NonconformingArrayException
- Divides each array element by the corresponding array element and return the data
computed in the result array parameter
- Parameters:
- arrayin - the longArray3D containing the divisors
- result - longArray3D Object that will store the result
- Throws: NonconformingArrayException
- shapes must match
div
public longArray3D div(longArray3D array) throws NonconformingArrayException
- Divides each array element by the corresponding array element and return the data
computed in a new array
- Parameters:
- array - the longArray3D containing the divisors
- Throws: NonconformingArrayException
- shapes must match
divAssign
public longArray3D divAssign(long scalar)
- div combined with assignment to this array
- Parameters:
- scalar - The second source operand
divAssign
public longArray3D divAssign(longArray3D array) throws NonconformingArrayException
- div combined with assignment to this array
- Parameters:
- array - The second source operand
- Throws: NonconformingArrayException
- shapes must match
rem
public void rem(long scalar,
longArray3D result) throws NonconformingArrayException
- Each array element is divided by a scalar and the remaining of
the integer division computed is returned in the result array parameter
- Parameters:
- scalar - The remaing operation second operand
- result - longArray3D Object that will store the result
- Throws: NonconformingArrayException
- shapes must match
rem
public longArray3D rem(long scalar)
- Each array element is divided by a scalar and the remaining of
the integer division computed is returned in a new array
- Parameters:
- scalar - The remaing operation second operand
- Throws: NonconformingArrayException
- shapes must match
rem
public void rem(longArray3D arrayin,
longArray3D result) throws NonconformingArrayException
- Each array element is divided by a scalar and the remaining of
the integer division computed is returned in the result array parameter
- Parameters:
- arrayin - the longArray3D containing the divisors
- result - longArray3D Object that will store the result
- Throws: NonconformingArrayException
- shapes must match
rem
public longArray3D rem(longArray3D array) throws NonconformingArrayException
- Each array element is divided by a scalar and the remaining of
the integer division computed is returned in a new array
- Parameters:
- array - the longArray3D containing the divisors
- Throws: NonconformingArrayException
- shapes must match
remAssign
public longArray3D remAssign(long scalar)
- rem combined with assignment to this array
- Parameters:
- scalar - The second source operand
remAssign
public longArray3D remAssign(longArray3D array) throws NonconformingArrayException
- rem combined with assignment to this array
- Parameters:
- array - The second source operand
- Throws: NonconformingArrayException
- shapes must match
equals
public booleanArray3D equals(long scalar)
- Computes, element by element, the result of the comparison:
element of this array equals to scalar
and return all the results in a new booleanArray3D of the
same shape as this array.
- Parameters:
- scalar - scalar to compare element by element with this array
equals
public void equals(long scalar,
booleanArray3D result) throws NonconformingArrayException
- Computes, element by element, the result of the comparison:
element of this array equals to scalar
and return all the results in the result array.
- Parameters:
- scalar - scalar to compare element by element with this array
- result - boolean array to store the result of the comparison
- Throws: NonconformingArrayException
- shapes must match.
equals
public booleanArray3D equals(longArray3D arrayin) throws NonconformingArrayException
- Computes, element by element, the result of the comparison:
element of this array equals to parameter array (arrayin) element
and return all the results in a new booleanArray3D of the
same shape as both arrays.
- Parameters:
- arrayin - Array to compare element by element with this array
- Throws: NonconformingArrayException
- Shapes must match.
equals
public void equals(longArray3D arrayin,
booleanArray3D result) throws NonconformingArrayException
- Computes, element by element, the result of the comparison:
element of this array equals to parameter array (arrayin) element
and return all the results in the result array.
- Parameters:
- arrayin - Array to compare element by element with this array
- result - Boolean array to store the result of the comparison
- Throws: NonconformingArrayException
- Shapes must match.
unequals
public booleanArray3D unequals(long scalar)
- Computes, element by element, the result of the comparison:
element of this array not equals to scalar
and return all the results in a new booleanArray3D of the
same shape as this array.
- Parameters:
- scalar - scalar to compare element by element with this array
unequals
public void unequals(long scalar,
booleanArray3D result) throws NonconformingArrayException
- Computes, element by element, the result of the comparison:
element of this array not equals to scalar
and return all the results in the result array.
- Parameters:
- scalar - scalar to compare element by element with this array
- result - boolean array to store the result of the comparison
- Throws: NonconformingArrayException
- shapes must match.
unequals
public booleanArray3D unequals(longArray3D arrayin) throws NonconformingArrayException
- Computes, element by element, the result of the comparison:
element of this array not equals to parameter array (arrayin) element
and return all the results in a new booleanArray3D of the
same shape as both arrays.
- Parameters:
- arrayin - Array to compare element by element with this array
- Throws: NonconformingArrayException
- Shapes must match.
unequals
public void unequals(longArray3D arrayin,
booleanArray3D result) throws NonconformingArrayException
- Computes, element by element, the result of the comparison:
element of this array not equals to parameter array (arrayin) element
and return all the results in the result array.
- Parameters:
- arrayin - Array to compare element by element with this array
- result - Boolean array to store the result of the comparison
- Throws: NonconformingArrayException
- Shapes must match.
greater
public booleanArray3D greater(long scalar)
- Computes, element by element, the result of the comparison:
element of this array greater than scalar
and return all the results in a new booleanArray3D of the
same shape as this array.
- Parameters:
- scalar - scalar to compare element by element with this array
greater
public void greater(long scalar,
booleanArray3D result) throws NonconformingArrayException
- Computes, element by element, the result of the comparison:
element of this array greater than scalar
and return all the results in the result array.
- Parameters:
- scalar - scalar to compare element by element with this array
- result - boolean array to store the result of the comparison
- Throws: NonconformingArrayException
- shapes must match.
greater
public booleanArray3D greater(longArray3D arrayin) throws NonconformingArrayException
- Computes, element by element, the result of the comparison:
element of this array greater than parameter array (arrayin) element
and return all the results in a new booleanArray3D of the
same shape as both arrays.
- Parameters:
- arrayin - Array to compare element by element with this array
- Throws: NonconformingArrayException
- Shapes must match.
greater
public void greater(longArray3D arrayin,
booleanArray3D result) throws NonconformingArrayException
- Computes, element by element, the result of the comparison:
element of this array greater than parameter array (arrayin) element
and return all the results in the result array.
- Parameters:
- arrayin - Array to compare element by element with this array
- result - Boolean array to store the result of the comparison
- Throws: NonconformingArrayException
- Shapes must match.
greaterEquals
public booleanArray3D greaterEquals(long scalar)
- Computes, element by element, the result of the comparison:
element of this array greater than or equals to scalar
and return all the results in a new booleanArray3D of the
same shape as this array.
- Parameters:
- scalar - scalar to compare element by element with this array
greaterEquals
public void greaterEquals(long scalar,
booleanArray3D result) throws NonconformingArrayException
- Computes, element by element, the result of the comparison:
element of this array greater than or equals to scalar
and return all the results in the result array.
- Parameters:
- scalar - scalar to compare element by element with this array
- result - boolean array to store the result of the comparison
- Throws: NonconformingArrayException
- shapes must match.
greaterEquals
public booleanArray3D greaterEquals(longArray3D arrayin) throws NonconformingArrayException
- Computes, element by element, the result of the comparison:
element of this array greater than or equals to parameter array (arrayin) element
and return all the results in a new booleanArray3D of the
same shape as both arrays.
- Parameters:
- arrayin - Array to compare element by element with this array
- Throws: NonconformingArrayException
- Shapes must match.
greaterEquals
public void greaterEquals(longArray3D arrayin,
booleanArray3D result) throws NonconformingArrayException
- Computes, element by element, the result of the comparison:
element of this array greater than or equals to parameter array (arrayin) element
and return all the results in the result array.
- Parameters:
- arrayin - Array to compare element by element with this array
- result - Boolean array to store the result of the comparison
- Throws: NonconformingArrayException
- Shapes must match.
less
public booleanArray3D less(long scalar)
- Computes, element by element, the result of the comparison:
element of this array less than scalar
and return all the results in a new booleanArray3D of the
same shape as this array.
- Parameters:
- scalar - scalar to compare element by element with this array
less
public void less(long scalar,
booleanArray3D result) throws NonconformingArrayException
- Computes, element by element, the result of the comparison:
element of this array less than scalar
and return all the results in the result array.
- Parameters:
- scalar - scalar to compare element by element with this array
- result - boolean array to store the result of the comparison
- Throws: NonconformingArrayException
- shapes must match.
less
public booleanArray3D less(longArray3D arrayin) throws NonconformingArrayException
- Computes, element by element, the result of the comparison:
element of this array less than parameter array (arrayin) element
and return all the results in a new booleanArray3D of the
same shape as both arrays.
- Parameters:
- arrayin - Array to compare element by element with this array
- Throws: NonconformingArrayException
- Shapes must match.
less
public void less(longArray3D arrayin,
booleanArray3D result) throws NonconformingArrayException
- Computes, element by element, the result of the comparison:
element of this array less than parameter array (arrayin) element
and return all the results in the result array.
- Parameters:
- arrayin - Array to compare element by element with this array
- result - Boolean array to store the result of the comparison
- Throws: NonconformingArrayException
- Shapes must match.
lessEquals
public booleanArray3D lessEquals(long scalar)
- Computes, element by element, the result of the comparison:
element of this array less than or equals to scalar
and return all the results in a new booleanArray3D of the
same shape as this array.
- Parameters:
- scalar - scalar to compare element by element with this array
lessEquals
public void lessEquals(long scalar,
booleanArray3D result) throws NonconformingArrayException
- Computes, element by element, the result of the comparison:
element of this array less than or equals to scalar
and return all the results in the result array.
- Parameters:
- scalar - scalar to compare element by element with this array
- result - boolean array to store the result of the comparison
- Throws: NonconformingArrayException
- shapes must match.
lessEquals
public booleanArray3D lessEquals(longArray3D arrayin) throws NonconformingArrayException
- Computes, element by element, the result of the comparison:
element of this array less than or equals to parameter array (arrayin) element
and return all the results in a new booleanArray3D of the
same shape as both arrays.
- Parameters:
- arrayin - Array to compare element by element with this array
- Throws: NonconformingArrayException
- Shapes must match.
lessEquals
public void lessEquals(longArray3D arrayin,
booleanArray3D result) throws NonconformingArrayException
- Computes, element by element, the result of the comparison:
element of this array less than or equals to parameter array (arrayin) element
and return all the results in the result array.
- Parameters:
- arrayin - Array to compare element by element with this array
- result - Boolean array to store the result of the comparison
- Throws: NonconformingArrayException
- Shapes must match.
toJava
public long[][][] toJava()
- Transforms this longArray3D to a long[][][].
All Packages Class Hierarchy This Package Previous Next Index