結果 : numpy matrix apply function to each element