Skip to content
TensorStore
tensorstore::IndexInterval::UncheckedHalfOpen
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
          • TIndex
          • TDimensionIndex
          • CIndexInterval
            • Constructors
              • FIndexInterval
              • FInfinite
              • FUncheckedClosed
              • FClosed
              • FUncheckedHalfOpen
                • Pre
                • Returns
              • FHalfOpen
              • FUncheckedSized
              • FSized
            • Methods
            • Accessors
            • Friend functions
            • Related Functions
            • Related Types
          • COptionallyImplicitIndexInterval
          • CIndexDomainDimension
          • TInlineRank
          • CRankConstraint
          • CBox
          • 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
    • Pre
    • Returns
    #include "tensorstore/index_interval.h"
    static constexpr IndexInterval
    tensorstore::IndexInterval::UncheckedHalfOpen(
        
    Index inclusive_min,
        
    Index exclusive_max) noexcept;

    Constructs an interval from an inclusive lower bound and exclusive upper bound.

    Pre:¶

    ValidHalfOpen(inclusive_min, exclusive_max)

    Returns:¶

    IndexInterval(inclusive_min, exclusive_max - inclusive_min).

    Back to top
    Previous tensorstore::IndexInterval::Closed
    Next tensorstore::IndexInterval::HalfOpen