Skip to content
TensorStore
tensorstore::BoxView<Rank, Mutable>::operator[]
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
          • TIndex
          • TDimensionIndex
          • CIndexInterval
          • COptionallyImplicitIndexInterval
          • CIndexDomainDimension
          • TInlineRank
          • CRankConstraint
          • CBox
            • Data members
            • Types
            • Constructors
            • Methods
            • Accessors
            • Assignment
            • Friend functions
            • Related Functions
            • Related Constants
            • Related Types
              • CBoxView
                • Data members
                • Types
                • Constructors
                • Methods
                  • Foperator=
                  • Frank
                  • Foperator[]
                    • Dchecks
                  • Forigin
                  • Fshape
                  • Fnum_elements
                  • Fis_empty
                  • FDeepAssign
                  • FFill
                  • Foperator()
              • TMutableBoxView
          • TDimensionSet
          • CIndexDomain
          • CIndexTransform
          • 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
    • 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().

    Back to top
    Previous tensorstore::BoxView<Rank, Mutable>::rank
    Next tensorstore::BoxView<Rank, Mutable>::origin