* Added missing function (rms).

master
Wirawan Purwanto 11 years ago
parent bb3db2667a
commit 597398a34b
  1. 4
      math/stats/array_stats.py

@ -33,6 +33,10 @@ PRINCIPLES
statement. statement.
""" """
def rms(m):
return numpy.sqrt(numpy.sum(m**2) / m.size)
def report_diff_stat(M1, M2, out=sys.stdout): def report_diff_stat(M1, M2, out=sys.stdout):
# Original function name: statdiff # Original function name: statdiff
"""Studies the difference of two arrays (or matrices). """Studies the difference of two arrays (or matrices).

Loading…
Cancel
Save