Lines Matching full:rank
57 if constexpr (extents_type::rank() == 0)
61 for (rank_type __r = 1; __r < extents_type::rank(); __r++) {
97 requires(is_constructible_v<extents_type, _OtherExtents> && _OtherExtents::rank() <= 1)
102 // Note: since this is constraint to rank 1, extents itself would catch the invalid conversion first
114 _LIBCPP_HIDE_FROM_ABI constexpr explicit(extents_type::rank() > 0)
117 if constexpr (extents_type::rank() > 0) {
121 for (rank_type __r = 0; __r < extents_type::rank(); __r++)
141 for (size_t __r = 0; __r < extents_type::rank(); __r++)
147 requires((sizeof...(_Indices) == extents_type::rank()) && (is_convertible_v<_Indices, index_type> && ...) &&
172 requires(extents_type::rank() > 0)
177 __r < extents_type::rank(), "layout_right::mapping::stride(): invalid rank index");
179 for (rank_type __i = extents_type::rank() - 1; __i > __r; __i--)
185 requires(_OtherExtents::rank() == extents_type::rank())