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