* Added missing function (rms).
This commit is contained in:
@@ -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).
|
||||||
|
|||||||
Reference in New Issue
Block a user