Jacket
Search the docs
/
API
Tools
Playground
main
SIMD module
← SIMD
Procedures
operator|
operator^
operator~
operator<<
operator>>
eq
ne
lt
le
gt
ge
to_bits
mask_from_bits
any
all
none
count_true
first_true
last_true
select
reduce_add
reduce_min
reduce_max
reduce_and
reduce_or
reduce_xor
shuffle
window
reverse
lookup
convert
bitcast
low_half
high_half
combine
bit_count
trailing_zeros
leading_zeros
cpu_features
best_vector_tier
On this page
See also
std
/
Extensions
/
SIMD
/
reduce_add
reduce_add
procedure
extension
since 0.31.0
Source
Reductions: all lanes combined into one value.
reduce_add
:: (a:
Vector
($T, $N)) -> T
Parameters
a
:
Vector
($T, $N)
Returns
T
See also
last_true
select
reduce_min
reduce_max