public class BroadcastSingleIterator extends BroadcastSelfIterator
aDataset, aIndex, asDouble, bDataset, bDouble, bIndex, bLong, maxShape, pos, readindex| Constructor and Description |
|---|
BroadcastSingleIterator(Dataset a,
Dataset b) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getFirstShape() |
int[] |
getSecondShape() |
boolean |
hasNext() |
void |
reset()
Reset iterator
|
createIterator, storeCurrentValuesgetPos, getShape, isOutputDouble, setOutputDoublepublic BroadcastSingleIterator(Dataset a, Dataset b)
a - dataset to iterate overb - dataset to iterate over (will broadcast to first)public boolean hasNext()
hasNext in class IndexIteratorpublic int[] getFirstShape()
public int[] getSecondShape()
public void reset()
IndexIteratorreset in class IndexIteratorCopyright © 2014–2022 Eclipse Foundation. All rights reserved.