コード例 #1
0
ファイル: jyscisoft.py プロジェクト: thiyagavit/passerelle
def residual(a, b, weight=None):
    '''Residual (sum of squared difference) of two inputs with optional weighting'''
    if weight is None:
        return _stats.residual(a, b)
    return _stats.weightedResidual(a, b, weight)
コード例 #2
0
ファイル: jymaths.py プロジェクト: olofsvensson/scisoft-core
def residual(a, b):
    '''Residual (sum of squared difference) of two inputs'''
    return _stats.residual(a, b)
コード例 #3
0
ファイル: jymaths.py プロジェクト: amundhov/scisoft-core
def residual(a, b):
    """Residual (sum of squared difference) of two inputs"""
    return _stats.residual(a, b)