array-api
array-api copied to clipboard
Clarify the required semantics for broadcasting with setitem
Fixes #424.
I have used SHOULD here as suggested in the consortium meeting to not disallow NumPy-like "reverse broadcasting" semantics.
Can we add two simple examples to illustrate what's allowed and what's not?
@asmeurer Would you be willing to update this PR with two examples, one illustrating what is allowed and another illustrating what is disallowed?
Added.