Module arrow_arith::arity
source · Expand description
Defines kernels suitable to perform operations to primitive arrays.
Functions
Given two arrays of length
len
, calls op(a[i], b[i])
for i
in 0..len
, collecting
the results in a PrimitiveArray
. If any index is null in either a
or b
, the
corresponding index in the result will also be nullGiven two arrays of length
len
, calls op(a[i], b[i])
for i
in 0..len
, mutating
the mutable PrimitiveArray
a
. If any index is null in either a
or b
, the
corresponding index in the result will also be null.Applies the provided fallible binary operation across
a
and b
, returning any error,
and collecting the results into a PrimitiveArray
. If any index is null in either a
or b
, the corresponding index in the result will also be nullApplies the provided fallible binary operation across
a
and b
by mutating the mutable
PrimitiveArray
a
with the results, returning any error. If any index is null in
either a
or b
, the corresponding index in the result will also be nullApplies a fallible unary function to an array with primitive values.
Applies an infallible unary function to an array with primitive values.