Improve abs() function #2802
Replies: 3 comments
-
The absolute value of a vector mathematically is it's length, so I guess they didn't want to trip up people who would expect abs(vec) to return the length. |
Beta Was this translation helpful? Give feedback.
-
This would be adding an overload Doing this would warrant deprecating |
Beta Was this translation helpful? Give feedback.
-
Also this would be a suggestion, so.. |
Beta Was this translation helpful? Give feedback.
-
Why have a separate function (positive) instead of improving abs?
The issue:
you can't return positive vector, without doing either
I want it to be
Vector = abs(vector)
Beta Was this translation helpful? Give feedback.
All reactions