結果 : numpy apply function to each element of 1d array