1 !sum
2 - go: Average
3 commutative: true
4 documentation: !string |-
5 // NAME computes the rounded average of corresponding elements.
6 - go: Abs
7 commutative: false
8 # Unary operation, not commutative
9 documentation: !string |-
10 // NAME computes the absolute value of each element.
11 - go: CopySign
12 # Applies sign of second operand to first: sign(val, sign_src)
13 commutative: false
14 documentation: !string |-
15 // NAME returns the product of the first operand with -1, 0, or 1,
16 // whichever constant is nearest to the value of the second operand.
17 # Sign does not have masked version
18 - go: OnesCount
19 commutative: false
20 documentation: !string |-
21 // NAME counts the number of set bits in each element.
22
View as plain text