[docs] Add constraint documentation for various `reduce`-like functions in simd.mojo
Fixes #2237 for reduce-like functions in simd.mojo:
- Adds documentation for constraint on value of
size_outnot exceeding width of input vector inreduce_add,reduce_mul,reduce_maxandreduce_min.
Signed-off-by: Brian-M-J [email protected]
Is the constraint on size_out the only one for reduce_add or does "The element type of the vector must be integer or FP." also apply?
✅🟣 This contribution has been merged 🟣✅
Your pull request has been merged to the internal upstream Mojo sources. It will be reflected here in the Mojo repository on the nightly branch during the next Mojo nightly release, typically within the next 24-48 hours.
We use Copybara to merge external contributions, click here to learn more.
Landed in b4da05cef19a6c79cad786ea9c8e2f22d092bd75! Thank you for your contribution 🎉