TensorStore
tensorstore::BoxView<Rank, Mutable>::BoxView[shape]
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
          • TIndex
          • TDimensionIndex
          • CIndexInterval
          • COptionallyImplicitIndexInterval
          • CIndexDomainDimension
          • TInlineRank
          • CRankConstraint
          • CBox
            • Data members
            • Types
            • Constructors
            • Methods
            • Accessors
            • Assignment
            • Friend functions
            • Related Functions
            • Related Constants
            • Related Types
              • CBoxView
                • Data members
                • Types
                • Constructors
                  • FBoxView [default]
                  • FBoxView [rank]
                  • FBoxView [shape]
                  • FBoxView [origin, shape]
                  • FBoxView [rank, origin, shape]
                  • FBoxView [convert]
                  • FBoxView [unchecked]
                • Methods
              • TMutableBoxView
          • 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
    #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.

    Back to top
    Previous tensorstore::BoxView<Rank, Mutable>::BoxView[rank]
    Next tensorstore::BoxView<Rank, Mutable>::BoxView[origin, shape]