| Date: Thu, 18 Mar 2021 08:44:31 +0100
remove residual function from arrays
Diffstat:
M arrays.c | 6 ------
M arrays.h | 2 --
2 files changed, 0 insertions(+), 8 deletions(-)
--- |
| t@@ -314,9 +314,3 @@ euclidean_distance(const double *a, const double *b, const int n)
return sqrt(out);
}
-
-double
-residual(const double new_val, const double old_val)
-{
- return (new_val - old_val) / (old_val + 1e-16);
-} |
| t@@ -54,6 +54,4 @@ double * normalize(const double *in, const int n);
double euclidean_norm(const double *a, const int n);
double euclidean_distance(const double *a, const double *b, const int n);
-double residual(const double new_val, const double old_val);
-
#endif |