Skip to content
TensorStore
tensorstore::IndexInterval::UncheckedClosed
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
          • T Index
          • T DimensionIndex
          • C IndexInterval
            • Constructors
              • F IndexInterval
              • F Infinite
              • F UncheckedClosed
                • Pre
                • Returns
              • F Closed
              • F UncheckedHalfOpen
              • F HalfOpen
              • F UncheckedSized
              • F Sized
            • Methods
            • Accessors
            • Friend functions
            • Related Functions
            • Related Types
          • C OptionallyImplicitIndexInterval
          • C IndexDomainDimension
          • T InlineRank
          • C RankConstraint
          • C Box
          • 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
    • Pre
    • Returns
    #include "tensorstore/index_interval.h"
    static constexpr IndexInterval
    tensorstore::IndexInterval::UncheckedClosed(
        
    Index inclusive_min,
        
    Index inclusive_max) noexcept;

    Constructs an interval from inclusive lower and upper bounds.

    Pre:¶

    ValidClosed(inclusive_min, inclusive_max)

    Returns:¶

    IndexInterval(inclusive_min, inclusive_max - inclusive_min + 1)