@Deprecated @Immutable public class SectionIterable extends Object implements Iterable<Integer>
| Modifier and Type | Class and Description |
|---|---|
class |
SectionIterable.SectionIterator
Deprecated.
|
| Constructor and Description |
|---|
SectionIterable(List<RangeIterator> ranges,
int[] fullShape)
Deprecated.
|
SectionIterable(List<RangeIterator> ranges,
List<Integer> fullShapeList)
Deprecated.
|
SectionIterable(Section section,
int[] fullShape)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
long |
computeSize()
Deprecated.
|
SectionIterable.SectionIterator |
getIterator()
Deprecated.
Iterate over a section, returning the index in an equivalent 1D array of shape[]
So this is a section in a (possibly) larger array described by shape[].
|
RangeIterator |
getRange(int i)
Deprecated.
|
int |
getRank()
Deprecated.
|
int[] |
getShape()
Deprecated.
|
Iterator<Integer> |
iterator()
Deprecated.
|
SectionIterable |
subSection(int start,
int endExclusive)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic SectionIterable(List<RangeIterator> ranges, int[] fullShape)
public SectionIterable(List<RangeIterator> ranges, List<Integer> fullShapeList)
public SectionIterable(Section section, int[] fullShape)
public int getRank()
public SectionIterable subSection(int start, int endExclusive)
public RangeIterator getRange(int i)
public int[] getShape()
public long computeSize()
public SectionIterable.SectionIterator getIterator()