TensorStore
tensorstore::BoxView<Rank, Mutable>::BoxView[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
            • Methods
            • Accessors
            • Assignment
            • Friend functions
            • Related Functions
            • Related Constants
            • Related Types
              • C BoxView
                • Data members
                • Types
                • Constructors
                  • F BoxView [default]
                  • F BoxView [rank]
                  • F BoxView [shape]
                  • F BoxView [origin, shape]
                  • F BoxView [rank, origin, shape]
                  • F BoxView [convert]
                  • F BoxView [unchecked]
                • Methods
              • T MutableBoxView
          • 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"
    explicit tensorstore::BoxView<Rank, Mutable>::BoxView(
        
    span<const Index, Rank> shape)
      
    requires (Mutable == false);
    template <size_t N>
      
    requires (RankConstraint::Implies(N, static_rank)) &&
              
     (Mutable == false)
    explicit tensorstore::BoxView<Rank, Mutable>::BoxView(
        
    IndexType (&shape)[N]);

    Constructs from a shape vector and an all-zero origin vector.