Available on crate feature
compute_aggregate
only.Expand description
Contains different aggregation functions
Traits
- Trait describing a type describing multiple lanes with an order relationship consistent with the same order of
T
. - 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
- Whether
max
supportsdata_type
- Whether
min
supportsdata_type
- Whether
sum
supportsdata_type
- Returns the total (heap) allocated size of the array in bytes.
- Returns the maximum of
Array
. The scalar is null when all elements are null. - Returns the maximum value in the binary array, according to the natural order.
- Returns the maximum value in the boolean array
- Returns the maximum value in the array, according to the natural order. For floating point arrays any NaN values are considered to be greater than any other non-null value
- Returns the maximum value in the string array, according to the natural order.
- Returns the minimum of
Array
. The scalar is null when all elements are null. - Returns the minimum value in the binary array, according to the natural order.
- Returns the minimum value in the boolean array.
- Returns the minimum value in the array, according to the natural order. For floating point arrays any NaN values are considered to be greater than any other non-null value
- Returns the minimum value in the string array, according to the natural order.
- 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