Skip to content
TensorStore
tensorstore::ValidateIndexArrayBounds
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
          • T Index
          • T DimensionIndex
          • C IndexInterval
          • C OptionallyImplicitIndexInterval
          • C IndexDomainDimension
          • T InlineRank
          • C RankConstraint
          • C Box
          • T DimensionSet
          • C IndexDomain
          • C IndexTransform
            • Data members
            • Constructors
            • Methods
            • Accessors
            • Friend functions
            • Related Types
            • Related Constants
            • Related Functions
              • F ComposeTransforms
              • F ComposeOptionalTransforms
              • F GetBoxDomainOf
              • F InverseTransform
              • F ValidateIndexArrayBounds
                • Error absl::StatusCode::kOutOfRange
              • F GetOutputRange
              • F PropagateInputDomainResizeToOutput
              • F WithImplicitDimensions
            • Identity transform
            • Bounds propagation
          • V IsIndexArray
          • C DimExpression
          • Alignment
        • Data types
        • Array
        • Key-value storage
        • Downsampling
        • Utilities
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    • Error absl::StatusCode::kOutOfRange
    #include "tensorstore/index_space/index_transform.h"
    absl::Status tensorstore::ValidateIndexArrayBounds(
        
    IndexInterval bounds,
        
    ArrayView<const Index, dynamic_rank, offset_origin> index_array);

    Checks that bounds.Contains(index) for all values of index in index_array.

    Error absl::StatusCode::kOutOfRange:¶

    if an index is out of bounds.