subtractElements

Subtracts the arrays element by element. Arrays must have the same length and must not be null.

Return

the new array containing ai-bi

Parameters

a

the first array

b

the second array