Given float arrays A and B, compute and return ((A + B) * (-A / 2)).
A
B
((A + B) * (-A / 2))
Input
A = [1. 1. 1.] B = [2. 2. 2.]
Output
[-1.5 -1.5 -1.5]
Sign in to write and run your own code.
solve(...)