cpp/container/mdspan/extents/rank

Returns the number of dimensions in.

Parameters
(none)

Return value
The number of dimensions.