Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::rank

      From cppreference.com
      <cpp‎ |container‎ |mdspan
       
       
       
       
      staticconstexpr rank_type rank()noexcept;
      (since C++23)

      Returns the number of dimensions in amdspan. Equivalent toreturn Extents::rank().

      Contents

      [edit]Parameters

      (none)

      [edit]Return value

      The number of dimensions.

      [edit]Example

      This section is incomplete
      Reason: no example

      [edit]See also

      [static]
      returns the static rank of anextents
      (public static member function ofstd::extents<IndexType,Extents...>)[edit]
      [static]
      returns the dynamic rank of amdspan
      (public static member function)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/container/mdspan/rank&oldid=178313"

      [8]ページ先頭

      ©2009-2025 Movatter.jp