I'm just getting started with numpy
and came across this 'dilemma'.
Suppose I have two matrices m1
and m2
. There is numpy.dot(a, b, out=None)
function, so I can call numpy.dot(m1, m2)
. But then there's also ndarray.dot(b, out=None)
, i.e. I can call m1.dot(m2)
. So which one should I use? Are there any differences between both methods? Pros/cons?