aboutsummaryrefslogtreecommitdiff
path: root/src/jtutil/util.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/jtutil/util.hh')
-rw-r--r--src/jtutil/util.hh5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/jtutil/util.hh b/src/jtutil/util.hh
index d59485a..d3a9c1a 100644
--- a/src/jtutil/util.hh
+++ b/src/jtutil/util.hh
@@ -9,9 +9,6 @@
// "stdc.h"
//
-// everything in this file is inside these namespaces
-namespace AHFinderDirect
- {
namespace jtutil
{
@@ -102,6 +99,7 @@ class norm
public:
// get norms etc
fp_t mean() const;
+ fp_t std_dev() const; // sqrt(sum (x_i - average of x_i)^2 / N)
fp_t two_norm() const; // sqrt(sum x_i^2)
fp_t rms_norm() const; // sqrt(average of x_i^2)
fp_t infinity_norm() const { return max_abs_value_; }
@@ -211,6 +209,5 @@ public:
//******************************************************************************
} // namespace jtutil
- } // namespace AHFinderDirect
#endif /* AHFINDERDIRECT__UTIL_HH */