TensorStore
tensorstore::SubArrayStaticRank
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
          • EContainerKind
          • CByteStridedPointer
          • CStridedLayout
          • CElementPointer
          • CArray
            • Types
            • Data members
            • Constructors
            • Methods
            • Indexing
            • Friend functions
            • Comparison
            • Related Types
            • Related Constants
              • VIsArrayExplicitlyConvertible
              • VIsArray
              • VSubArrayStaticRank
            • Related Functions
            • Creation functions
            • Copy functions
            • Formatting
            • Broadcasting
          • 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
    #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.

    Back to top
    Previous tensorstore::IsArray
    Next tensorstore::SubArray