def dot(a, b): '''Dot product of two arrays''' return _linalg.dotProduct(a, b)
def vdot(a, b): '''Dot product of two vectors with first vector conjugated if complex''' return _linalg.dotProduct(conjugate(a.flatten()), b.flatten())
def dot(a, b): """Dot product of two arrays""" return _linalg.dotProduct(a, b)