Class NormalizedRange


  • public class NormalizedRange
    extends Range
    • Constructor Detail

      • NormalizedRange

        public NormalizedRange​(Range range,
                               int length)
    • Method Detail

      • checkAgainstParentDims

        public void checkAgainstParentDims​(int[] parentDims,
                                           int length,
                                           Supplier<String> exprToString)
      • startIndex

        public int startIndex()
      • step

        public int step()
      • endIndex

        public int endIndex()
      • isScalar

        public boolean isScalar()
      • length

        public int length()
      • normalizeRanges

        public static NormalizedRange[] normalizeRanges​(Range[] ranges,
                                                        int[] parentDims)