def logsum(logv):
    res = logzero()
    for val in logv:
        res = logsum_pair(res, val)
    return res


############################################################################
# This implementation is faster, but may give problems with log(0), so I
# commented it out
# def logsum(logv):
#     '''
#     Return log(v[0]+v[1]+...), avoiding arithmetic underflow/overflow.
#     '''
#     c = np.max(logv)
#     return c + np.log(np.sum(np.exp(logv - c)))
############################################################################
Returns True if the job execution requires a proxy user.
dataset/ETHPy150Open LxMLS/lxmls-toolkit/lxmls/sequences/log_domain.py/logsum--crossover with--dataset/ETHPy150Open openstack/sahara/sahara/utils/proxy.py/job_execution_requires_proxy_user