diff options
author | B Stack <bgstack15@gmail.com> | 2019-08-15 15:51:34 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-08-15 15:51:39 -0400 |
commit | 17994eb3eda9d2be9aad55dae41562ce13531d99 (patch) | |
tree | afc54ec004ab863262f5621fbf282c42fdff29cc /zen/basic_math.h | |
parent | Merge branch '10.14' into 'master' (diff) | |
download | FreeFileSync-17994eb3eda9d2be9aad55dae41562ce13531d99.tar.gz FreeFileSync-17994eb3eda9d2be9aad55dae41562ce13531d99.tar.bz2 FreeFileSync-17994eb3eda9d2be9aad55dae41562ce13531d99.zip |
add upstream 10.15
Diffstat (limited to 'zen/basic_math.h')
-rw-r--r-- | zen/basic_math.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zen/basic_math.h b/zen/basic_math.h index 75f5d3b8..b9be28be 100644 --- a/zen/basic_math.h +++ b/zen/basic_math.h @@ -254,7 +254,7 @@ double median(RandomAccessIterator first, RandomAccessIterator last) //note: inv template <class RandomAccessIterator> inline double mad(RandomAccessIterator first, RandomAccessIterator last) //note: invalidates input range! { - //http://en.wikipedia.org/wiki/Median_absolute_deviation + //https://en.wikipedia.org/wiki/Median_absolute_deviation const size_t n = last - first; if (n == 0) return 0; @@ -277,7 +277,7 @@ double mad(RandomAccessIterator first, RandomAccessIterator last) //note: invali template <class InputIterator> inline double stdDeviation(InputIterator first, InputIterator last, double* arithMean) { - //implementation minimizing rounding errors, see: http://en.wikipedia.org/wiki/Standard_deviation + //implementation minimizing rounding errors, see: https://en.wikipedia.org/wiki/Standard_deviation //combined with technique avoiding overflow, see: http://www.netlib.org/blas/dnrm2.f -> only 10% performance degradation size_t n = 0; |