def rms_flat(a): """Return the root mean square of all the elements of a, flattened out.""" return numerix.mlab.sqrt(sum_flat(absolute(a)**2)/float(size(a)))
def rms_flat(a): """Return the root mean square of all the elements of a, flattened out.""" return numerix.mlab.sqrt(sum_flat(absolute(a)**2) / float(size(a)))
def mean_flat(a): """Return the mean of all the elements of a, flattened out.""" return sum_flat(a)/float(size(a))
def mean_flat(a): """Return the mean of all the elements of a, flattened out.""" return sum_flat(a) / float(size(a))