Expand description
Defines kernels suitable to perform operations to primitive arrays.
Functions§
- Given two arrays of length
len
, callsop(a[i], b[i])
fori
in0..len
, collecting the results in aPrimitiveArray
. If any index is null in eithera
orb
, the corresponding index in the result will also be null - Given two arrays of length
len
, callsop(a[i], b[i])
fori
in0..len
, mutating the mutablePrimitiveArray
a
. If any index is null in eithera
orb
, the corresponding index in the result will also be null. - Applies the provided fallible binary operation across
a
andb
, returning any error, and collecting the results into aPrimitiveArray
. If any index is null in eithera
orb
, the corresponding index in the result will also be null - Applies the provided fallible binary operation across
a
andb
by mutating the mutablePrimitiveArray
a
with the results, returning any error. If any index is null in eithera
orb
, the corresponding index in the result will also be null - try_
unary_ dyn Deprecated Applies a fallible unary function to an array with primitive values. - unary_
dyn Deprecated Applies an infallible unary function to an array with primitive values.