这篇文章把numpy中的广播机制讲的十分透彻:
https://jakevdp.github.io/PythonDataScienceHandbook/02.05-computation-on-arrays-broadcasting.html