def _weightedDotProduct(x1, x2, x3):
    res = 0.0
    ix = 0
    top = len(x1)
    while ix < top:
        res = res + x1[ix] * x2[ix] * _weightFun(x3[ix])
        ix = ix + 1

    return res
dataset/ETHPy150Open ufora/ufora/packages/python/pyfora/algorithms/logistic/FullRankMajorizationSolver.py/_weightedDotProduct/original