How is this working correctly?

When we multiply a*b ,its element wise multiplication…so sir found theta=np.linalg.pinv(firstpart)*secondpart…which should have performed element wise multiplication but surprisingly it gave the correct result?How?

It should have been np.dot( np.linalg.pinv(firstpart),secondpart)…Please let me know what is wrong in what I am thinking?