Exemplo n.º 1
0
def vdot(a, b):
    '''Dot product of two vectors with first vector conjugated if complex'''
    return _linalg.dotProduct(conjugate(a.flatten()), b.flatten())
Exemplo n.º 2
0
def vdot(a, b):
    '''Dot product of two vectors with first vector conjugated if complex'''
    return _linalg.dotProduct(conjugate(a.flatten()), b.flatten())
Exemplo n.º 3
0
def dot(a, b):
    '''Dot product of two arrays'''
    return _linalg.dotProduct(a, b)
Exemplo n.º 4
0
def dot(a, b):
    '''Dot product of two arrays'''
    return _linalg.dotProduct(a, b)