Skip to content
TensorStore
tensorstore::BoxView<Rank, Mutable>::BoxView[rank, origin, 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]
                    • Parameters
                      • prank
                      • porigin
                      • pshape
                  • 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
    • Parameters
      • prank
      • porigin
      • pshape
    #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.

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