Available on crate feature
compute_aggregate
only.Re-exports§
pub use crate::types::PrimitiveType;
Traits§
- Object that can reduce itself to a number. This is used in the context of SIMD to reduce a MD (e.g.
[f32; 16]
) into a single number (f32
).
Functions§
- Returns the total (heap) allocated size of the array in bytes.
- Returns the sum of all elements in
array
as aScalar
of the same physical and logical types asarray
. - Returns the sum of values in the array.
- Compute the sum of a slice