public interface MutableIntArrayND extends IntArrayND
int values.| Modifier and Type | Method and Description |
|---|---|
void |
set(IntTuple indices,
int value)
Set the value at the given position.
|
MutableIntArrayND |
subArray(IntTuple fromIndices,
IntTuple toIndices)
Returns a view on a portion of this array.
|
get, streamcoordinates, getPreferredIterationOrder, getSize, getTotalSizevoid set(IntTuple indices, int value)
indices - The positionvalue - The value to set.IllegalArgumentException - If the given indices do not have
the same size as the size of this array.IndexOutOfBoundsException - May be thrown if the indices are
not valid. That is, if fromIndex < 0 or
toIndex > size or fromIndex > toIndex
for any dimension. But explicit bounds checking is not guaranteed.MutableIntArrayND subArray(IntTuple fromIndices, IntTuple toIndices)
subArray in interface ArrayNDsubArray in interface IntArrayNDfromIndices - The start indices of the sub-array along
each dimension (inclusive)toIndices - The end indices of the sub-array along
each dimension (exclusive)Copyright © 2015. All Rights Reserved.