Exemplo n.º 1
0
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)))
Exemplo n.º 2
0
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)))
Exemplo n.º 3
0
def mean_flat(a):
    """Return the mean of all the elements of a, flattened out."""

    return sum_flat(a)/float(size(a))
Exemplo n.º 4
0
def mean_flat(a):
    """Return the mean of all the elements of a, flattened out."""

    return sum_flat(a) / float(size(a))