private static List<Integer> completeIterationOrder(int length) {
            List<Integer> iterationDimensions = new ArrayList<>(length);
            for (int i = 0; i < length; i++)
                iterationDimensions.add(length - 1 - i);
            return iterationDimensions;
        }
Since the right dimensions binds closest, iteration order is the opposite of the tensor order
vespajlib/src/main/java/com/yahoo/tensor/IndexedTensor.java