docs: public boolean areDimensionsRightAligned(int[] otherDims) {
      for (int i = 1; i < otherDims.length + 1; i++) {
        if (otherDims[otherDims.length - i] != dimensions[dimensions.length - i]) {
          return false;
        }
      }
      return true;
    }