Class LinearIndexLookup

    • Constructor Detail

      • LinearIndexLookup

        public LinearIndexLookup​(int[] shape,
                                 char ordering)
        Parameters:
        shape - the shape of the linear index
        ordering - the ordering of the linear index
      • LinearIndexLookup

        public LinearIndexLookup​(long[] shape,
                                 char ordering)
    • Method Detail

      • lookup

        public long[] lookup​(int index)
        Give back a sub wrt the given linear index
        Parameters:
        index - the index
        Returns:
        the sub for the given index