Function arrow_arith::numeric::neg
source · pub fn neg(array: &dyn Array) -> Result<ArrayRef, ArrowError>
Expand description
Negates each element of array
, returning an error on overflow
Note: negation of unsigned arrays is not supported and will return in an error,
for wrapping unsigned negation consider using neg_wrapping