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: MulSign
12 commutative: false
13 documentation: !string |-
14 // NAME returns the product of x with the sign of y (-1, 0, or 1).
15 - go: OnesCount
16 commutative: false
17 documentation: !string |-
18 // NAME counts the number of set bits in each element.
19
View as plain text