public class IndexConstant extends Index
Modifier | Constructor and Description |
---|---|
protected |
IndexConstant(int rank) |
protected |
IndexConstant(int[] shape) |
protected |
IndexConstant(int[] shape,
int[] stride) |
Modifier and Type | Method and Description |
---|---|
int |
currentElement()
always return 0
|
protected IndexConstant(int rank)
protected IndexConstant(int[] shape)
protected IndexConstant(int[] shape, int[] stride)
public int currentElement()
currentElement
in class Index