regress: provide function to find median

This commit is contained in:
Miroslav Lichvar
2017-06-21 19:11:10 +02:00
parent 5e1e31ad5f
commit 6207655ab2
2 changed files with 16 additions and 0 deletions

View File

@@ -131,4 +131,7 @@ RGR_MultipleRegress
double *b2 /* estimated second slope */
);
/* Return the median value from an array */
extern double RGR_FindMedian(double *x, int n);
#endif /* GOT_REGRESS_H */