Change the sign of every element of the float array Z in place (write the negated values back into the same underlying buffer rather than allocating a new array). Return the result.
Z
Sign in to write and run your own code.
solve(...)