Skip to content
TensorStore
tensorstore::BoxView<Rank, Mutable>::BoxView[rank, origin, 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]
                    • Parameters
                      • p rank
                      • p origin
                      • p 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
    • Parameters
      • p rank
      • p origin
      • p shape
    #include "tensorstore/box.h"
    explicit tensorstore::BoxView<Rank, Mutable>::BoxView(
        
    RankType rank,
        
    IndexType* origin,
        
    IndexType* shape);

    Constructs from a rank, an origin base pointer, and a shape base pointer.

    Parameters:¶
    RankType rank¶

    The rank of the index space.

    IndexType *origin¶

    Pointer to array of length rank.

    IndexType *shape¶

    Pointer to array of length rank.