Repository navigation
Improve abs() function #2802
KemGus
started this conversation in
Suggestions
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. |
0 replies
|
This would be adding an overload Doing this would warrant deprecating |
0 replies
|
Also this would be a suggestion, so.. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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)
All reactions