public abstract class BroadcastIteratorBase extends IndexIterator
Modifier and Type | Field and Description |
---|---|
protected Dataset |
aDataset |
int |
aIndex
Index in first dataset
|
protected boolean |
asDouble |
protected Dataset |
bDataset |
double |
bDouble
Current value in second dataset
|
int |
bIndex
Index in second dataset
|
long |
bLong
Current value in second dataset
|
protected int[] |
maxShape |
protected int[] |
pos
position in dataset
|
protected boolean |
read |
index
Constructor and Description |
---|
BroadcastIteratorBase(Dataset a,
Dataset b) |
Modifier and Type | Method and Description |
---|---|
int[] |
getPos() |
int[] |
getShape() |
boolean |
isOutputDouble() |
void |
setOutputDouble(boolean asDouble)
Set to output doubles
|
protected abstract void |
storeCurrentValues()
Read and store current values
|
hasNext, reset
public int aIndex
public int bIndex
public double bDouble
public long bLong
protected boolean asDouble
protected boolean read
protected int[] maxShape
protected int[] pos
public BroadcastIteratorBase(Dataset a, Dataset b)
public int[] getShape()
getShape
in class IndexIterator
public int[] getPos()
getPos
in class IndexIterator
public boolean isOutputDouble()
public void setOutputDouble(boolean asDouble)
asDouble
- protected abstract void storeCurrentValues()
Copyright © 2014–2019 Eclipse Foundation. All rights reserved.