Skip to content
TensorStore
tensorstore::IndexInterval::Closed
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
          • TIndex
          • TDimensionIndex
          • CIndexInterval
            • Constructors
              • FIndexInterval
              • FInfinite
              • FUncheckedClosed
              • FClosed
                • Returns
                • Error absl::StatusCode::kInvalidArgument
              • FUncheckedHalfOpen
              • 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
    • Returns
    • Error absl::StatusCode::kInvalidArgument
    #include "tensorstore/index_interval.h"
    static Result<IndexInterval>
    tensorstore::IndexInterval::Closed(Index inclusive_min,
                                       
    Index inclusive_max);

    Tries to construct an interval from inclusive lower and upper bounds.

    Returns:¶

    UncheckedClosed(inclusive_min, inclusive_max)

    Error absl::StatusCode::kInvalidArgument:¶

    if !ValidClosed(inclusive_min, inclusive_max).

    Back to top
    Previous tensorstore::IndexInterval::UncheckedClosed
    Next tensorstore::IndexInterval::UncheckedHalfOpen