Open
Description
The standard says:
Providing an empty tuple or an ellipsis to an array of rank 0 must result in an array of the same rank (i.e., if A has rank 0, A == A[()] and A == A[...])
Why is this restricted to rank 0
? Sure, a reason for the inclusion is probably to be explicit about the divergence from NumPy, but am I missing something about rank 0
being special from the standard's perspective? Since [()]
must act like [...]
in the 0D case, should it not always act like that, for consistency?