|
CDMA engine API
3.1.0
CDMA core library
|
The ISliceIterator interface permits to access easily a to a sub-part of an array. More...
Inherits IModelObject.
Public Member Functions | |
| boolean | hasNext () |
| void | next () |
| IArray | getArrayNext () throws InvalidRangeException |
| int[] | getSliceShape () throws InvalidRangeException |
| int[] | getSlicePosition () |
The ISliceIterator interface permits to access easily a to a sub-part of an array.
This is a way to iterate over slices of arrays. Each iteration returns an array of dimension dim, representing the last dim dimensions of the input array. So for 3D data consisting of a set of 2D arrays, each of the 2D arrays will be returned.
Get the slice position in the whole array from which this slice iterator was created.
int array of the current position of the slice Get the shape of any slice that is returned. This could be used when a temporary array of the right shape needs to be created.
| InvalidRangeException | invalid range |
Check if there is a next slice.
Jump to the next slice.