結果 : apply function to each element in numpy array