結果 : apply function to all values in numpy array