コード例 #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())
コード例 #2
0
ファイル: jymaths.py プロジェクト: DawnScience/scisoft-core
def vdot(a, b):
    '''Dot product of two vectors with first vector conjugated if complex'''
    return _linalg.dotProduct(conjugate(a.flatten()), b.flatten())
コード例 #3
0
def dot(a, b):
    '''Dot product of two arrays'''
    return _linalg.dotProduct(a, b)
コード例 #4
0
ファイル: jymaths.py プロジェクト: DawnScience/scisoft-core
def dot(a, b):
    '''Dot product of two arrays'''
    return _linalg.dotProduct(a, b)