/// <inheritdoc />
        public override int GetUpperBound(int dimension)
        {
            IIndexingBoundsContracts.GetUpperBound(this, dimension);

            return(this.UpperBounds[dimension]);
        }
        /// <inheritdoc />
        public override int GetLength(int dimension)
        {
            IIndexingBoundsContracts.GetLength(this, dimension);

            return(this.Dimensions[dimension]);
        }
        /// <inheritdoc />
        public override int GetLength(int dimension)
        {
            IIndexingBoundsContracts.GetLength(this, dimension);

            return(this.array.GetLength(dimension));
        }
        /// <inheritdoc />
        public override int GetUpperBound(int dimension)
        {
            IIndexingBoundsContracts.GetUpperBound(this, dimension);

            return(this.array.GetUpperBound(dimension) + this.offset[dimension]);
        }
Beispiel #5
0
		/// <inheritdoc />
		public override int GetLowerBound(int dimension)
		{
			IIndexingBoundsContracts.GetLowerBound(this, dimension);

			return this.array.GetLowerBound(dimension);
		}