def ass(inarray, dimension=None, keepdims=0):
    if dimension == None:
        inarray = N.ravel(inarray)
        dimension = 0
    return asum(inarray*inarray,dimension,keepdims)
Squares each value in the passed array, adds these squares & returns
dataset/ETHPy150Open radlab/sparrow/src/main/python/third_party/stats.py/ass