Insime my Android app, I have two float arrays and I want to compute the distance:
float[] arrayA;
float[] arrayB;
diff = ?
In Python I do:
diff = np.sum(abs(arrayA - arrayB))
I can't find the same operators in java.
Should I use a for loop? Or there are faster ways?