def lsquare_of_sums(inlist):
    s = sum(inlist)
    return float(s)*s
Adds the values in the passed list, squares the sum, and returns
dataset/ETHPy150Open radlab/sparrow/src/main/python/third_party/stats.py/lsquare_of_sums