类 Index0D

  • 所有已实现的接口:
    java.lang.Cloneable

    public class Index0D
    extends Index
    Specialization of Index for rank 0 arrays, ie scalars.
    作者:
    caron
    另请参阅:
    Index
    • 构造器详细资料

      • Index0D

        public Index0D​(int[] shape)
    • 方法详细资料

      • currentElement

        public int currentElement()
        从类复制的说明: Index
        Get the current element's index into the 1D backing array. VLEN stops processing.
        覆盖:
        currentElement 在类中 Index
        返回:
        the current element's index into the 1D backing array.
      • incr

        public int incr()
        从类复制的说明: Index
        Increment the current element by 1. Used by IndexIterator. General rank, with subclass specialization. Vlen skipped.
        覆盖:
        incr 在类中 Index
        返回:
        currentElement()
      • clone

        public java.lang.Object clone()
        覆盖:
        clone 在类中 Index
      • set

        public Index set()