* Added missing function (rms).

This commit is contained in:
Wirawan Purwanto
2014-05-29 13:55:05 -04:00
parent bb3db2667a
commit 597398a34b

View File

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