Skip to content
TensorStore
tensorstore::StridedLayout<Rank, OriginKind, CKind>::StridedLayout[rank]
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
          • EContainerKind
          • CByteStridedPointer
          • CStridedLayout
            • Data members
            • Types
            • Methods
            • Constructors
              • FStridedLayout [default]
              • FStridedLayout [rank]
                • Requires
                • Dchecks
                • Post
                • Post
              • FStridedLayout [shape, byte_strides]
              • FStridedLayout [origin, shape, byte_strides]
              • FStridedLayout [domain, byte_strides]
              • FStridedLayout [convert]
              • FStridedLayout [unchecked]
              • FStridedLayout [rank, components]
              • FStridedLayout [order]
            • Assignment
            • Accessors
            • Indexing
            • Friend functions
            • Related Types
            • Related Constants
            • Related Functions
            • Broadcasting
          • CElementPointer
          • CArray
          • CTransformedArray
          • Transformation
          • Iteration
        • Key-value storage
        • Downsampling
        • Utilities
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    • Requires
    • Dchecks
    • Post
    • Post
    #include "tensorstore/strided_layout.h"
    explicit tensorstore::StridedLayout<Rank, OriginKind, CKind>::
        
    StridedLayout(RankType rank)
      
    requires (CKind == container);

    Constructs an uninitialized layout of the specified rank.

    Requires:¶

    container_kind == container

    Dchecks:¶

    rank >= 0

    Post:¶

    this->rank() == rank

    Post:¶

    The contents of this->shape() and this->byte_strides() are unspecified.

    Back to top
    Previous tensorstore::StridedLayout<Rank, OriginKind, CKind>::StridedLayout[default]
    Next tensorstore::StridedLayout<Rank, OriginKind, CKind>::StridedLayout[shape, byte_strides]