Skip to content
TensorStore
tensorstore::ValidateIndexArrayBounds
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
          • TIndex
          • TDimensionIndex
          • CIndexInterval
          • COptionallyImplicitIndexInterval
          • CIndexDomainDimension
          • TInlineRank
          • CRankConstraint
          • CBox
          • TDimensionSet
          • CIndexDomain
          • CIndexTransform
            • Data members
            • Constructors
            • Methods
            • Accessors
            • Friend functions
            • Related Types
            • Related Constants
            • Related Functions
              • FComposeTransforms
              • FComposeOptionalTransforms
              • FGetBoxDomainOf
              • FInverseTransform
              • FValidateIndexArrayBounds
                • Error absl::StatusCode::kOutOfRange
              • FGetOutputRange
              • FPropagateInputDomainResizeToOutput
              • FWithImplicitDimensions
            • Identity transform
            • Bounds propagation
          • VIsIndexArray
          • CDimExpression
          • 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.

    Back to top
    Previous tensorstore::InverseTransform
    Next tensorstore::GetOutputRange