pub fn array_scale(array: Expr, scalar: Expr) -> Expr
scales each element of a numeric array by a scalar.