}
}
+/* ================================================== */
+
+double
+RGR_FindMedian(double *x, int n)
+{
+ double tmp[MAX_POINTS];
+
+ assert(n > 0 && n <= MAX_POINTS);
+ memcpy(tmp, x, n * sizeof (tmp[0]));
+
+ return find_median(tmp, n);
+}
+
/* ================================================== */
/* This function evaluates the equation
double *b2 /* estimated second slope */
);
+/* Return the median value from an array */
+extern double RGR_FindMedian(double *x, int n);
+
#endif /* GOT_REGRESS_H */