TensorStore
tensorstore::SubArrayStaticRank
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
          • E ContainerKind
          • C ByteStridedPointer
          • C StridedLayout
          • C ElementPointer
          • C Array
            • Types
            • Data members
            • Constructors
            • Methods
            • Indexing
            • Friend functions
            • Comparison
            • Related Types
            • Related Constants
              • V IsArrayExplicitlyConvertible
              • V IsArray
              • V SubArrayStaticRank
            • Related Functions
            • Creation functions
            • Copy functions
            • Formatting
            • Broadcasting
          • C TransformedArray
          • Transformation
          • Iteration
        • Key-value storage
        • Downsampling
        • Utilities
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    #include "tensorstore/array.h"
    template <DimensionIndex Rank, typename Indices>
      
    requires IsCompatiblePartialIndexVector<Rank, Indices>
    constexpr DimensionIndex tensorstore::SubArrayStaticRank;

    Metafunction that computes the static rank of the sub-array obtained by indexing an array of the given Rank with an index vector of type Indices.