private final void setIsContiguous() {
        final int[] contiguousStrides = PyMultiarray.shapeToStrides(
                this.dimensions,
                PyMultiarray.typeToNElements(this._typecode));
        for (int i = 0; i < this.strides.length; i++) {
            if (this.strides[i] != contiguousStrides[i]) {
                this.isContiguous = false;
                break;
            }
        }
    }