Skip to content
TensorStore
tensorstore::BoxView<Rank, Mutable>::operator[]
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
            • Data members
            • Types
            • Constructors
            • Methods
            • Accessors
            • Assignment
            • Friend functions
            • Related Functions
            • Related Constants
            • Related Types
              • C BoxView
                • Data members
                • Types
                • Constructors
                • Methods
                  • F operator=
                  • F rank
                  • F operator[]
                    • Dchecks
                  • F origin
                  • F shape
                  • F num_elements
                  • F is_empty
                  • F DeepAssign
                  • F Fill
                  • F operator()
              • T MutableBoxView
          • T DimensionSet
          • C IndexDomain
          • C IndexTransform
          • 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
    • Dchecks
    #include "tensorstore/box.h"
    IndexIntervalType tensorstore::BoxView<Rank, Mutable>::operator[](
        
    DimensionIndex i) const;

    Returns the index interval for dimension i.

    If Mutable == true, returns an IndexIntervalRef. Otherwise, returns an IndexInterval.

    Dchecks:¶

    0 <= i && i < rank().