ritchie46 commented on a change in pull request #9361:
URL: https://github.com/apache/arrow/pull/9361#discussion_r572044940



##########
File path: rust/arrow/src/compute/kernels/arithmetic.rs
##########
@@ -536,7 +555,29 @@ where
     #[cfg(simd)]
     return simd_signed_unary_math_op(array, |x| -x, |x| -x);
     #[cfg(not(simd))]
-    return signed_unary_math_op(array, |x| -x);
+    return Ok(unary(array, |x| -x));
+}
+
+/// Raise array to the power of a scalar.
+pub fn pow_scalar<T>(

Review comment:
       I renamed to `powf_scalar`. I still have a `scalar` suffix distinct with 
a (future) kernel that is a binary function (i.e. array to the power of array).




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to