mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 13:55:07 -05:00
regress: add linear regression with two independent variables
This commit is contained in:
12
regress.h
12
regress.h
@@ -119,4 +119,16 @@ RGR_FindBestRobustRegression
|
||||
int *n_runs,
|
||||
int *best_start);
|
||||
|
||||
int
|
||||
RGR_MultipleRegress
|
||||
(double *x1, /* first independent variable */
|
||||
double *x2, /* second independent variable */
|
||||
double *y, /* measured data */
|
||||
|
||||
int n, /* number of data points */
|
||||
|
||||
/* The results */
|
||||
double *b2 /* estimated second slope */
|
||||
);
|
||||
|
||||
#endif /* GOT_REGRESS_H */
|
||||
|
||||
Reference in New Issue
Block a user