Namespaces
Variants
Actions

std::extents<IndexType,Extents...>::rev-prod-of-extents

From cppreference.com
< cpp‎ | container‎ | mdspan‎ | extents
 
 
 
std::mdspan
 
 
constexpr std::size_t /*rev-prod-of-extents*/( rank_type i ) const noexcept;
(since C++23)
(exposition only*)

Returns the product of the sizes of extents with index greater than i. The behavior is undefined if i < rank() is false.

[edit] Parameters

i - an index above which the sizes of corresponding extents will be multiplied together

[edit] Return value

If i + 1 < rank() is true, return the product of extent (k) for all k in range [i + 1rank()), otherwise 1.

[edit] See also

returns the product of extent size in range [0i)
(exposition-only member function*)[edit]
Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/container/mdspan/extents/rev-prod-of-extents&oldid=178727"

AltStyle によって変換されたページ (->オリジナル) /