TensorStore
tensorstore::Box<Rank>::Box[shape]
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
              • F Box [default]
              • F Box [rank]
              • F Box [origin, shape]
              • F Box [rank, origin, shape]
              • F Box [shape]
              • F Box [convert]
              • F Box [unchecked]
              • F Box
            • Methods
            • Accessors
            • Assignment
            • Friend functions
            • Related Functions
            • Related Constants
            • Related Types
          • 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
    #include "tensorstore/box.h"
    template <typename ShapeVec>
      
    requires IsImplicitlyCompatibleFullIndexVector<static_rank,
                                                     ShapeVec>
    explicit tensorstore::Box<Rank>::Box(const ShapeVec& shape);
    template <size_t N>
      
    requires (RankConstraint::Implies(N, static_rank))
    explicit tensorstore::Box<Rank>::Box(const Index (&shape)[N]);

    Constructs from a shape vector.