Skip to content

Add an element-wise 'abs' method for vectors#334

Open
0xb1dd1e wants to merge 1 commit intotoji:masterfrom
0xb1dd1e:add-vector-abs
Open

Add an element-wise 'abs' method for vectors#334
0xb1dd1e wants to merge 1 commit intotoji:masterfrom
0xb1dd1e:add-vector-abs

Conversation

@0xb1dd1e
Copy link
Copy Markdown

Adding a unary op that will set each of the output vector's elements to the absolute value of the corresponding input element.

Useful for mapping a bounding box half diagonal vector into the positive quadrant/octant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant