1 #ifndef GRASS_STATSDEFS_H 2 #define GRASS_STATSDEFS_H 3 4 typedef void stat_func(DCELL *, DCELL *, int, const void *); 5 typedef void stat_func_w(DCELL *, DCELL(*)[2], int, const void *); 6 7 extern stat_func c_ave; 8 extern stat_func c_count; 9 extern stat_func c_divr; 10 extern stat_func c_intr; 11 extern stat_func c_max; 12 extern stat_func c_maxx; 13 extern stat_func c_median; 14 extern stat_func c_min; 15 extern stat_func c_minx; 16 extern stat_func c_mode; 17 extern stat_func c_stddev; 18 extern stat_func c_sum; 19 extern stat_func c_thresh; 20 extern stat_func c_var; 21 extern stat_func c_range; 22 extern stat_func c_reg_m; 23 extern stat_func c_reg_c; 24 extern stat_func c_reg_r2; 25 extern stat_func c_reg_t; 26 extern stat_func c_quart1; 27 extern stat_func c_quart3; 28 extern stat_func c_perc90; 29 extern stat_func c_quant; 30 extern stat_func c_skew; 31 extern stat_func c_kurt; 32 33 extern stat_func_w w_ave; 34 extern stat_func_w w_count; 35 extern stat_func_w w_median; 36 extern stat_func_w w_min; 37 extern stat_func_w w_max; 38 extern stat_func_w w_mode; 39 extern stat_func_w w_quart1; 40 extern stat_func_w w_quart3; 41 extern stat_func_w w_perc90; 42 extern stat_func_w w_quant; 43 extern stat_func_w w_reg_m; 44 extern stat_func_w w_reg_c; 45 extern stat_func_w w_reg_r2; 46 extern stat_func_w w_reg_t; 47 extern stat_func_w w_stddev; 48 extern stat_func_w w_sum; 49 extern stat_func_w w_var; 50 extern stat_func_w w_skew; 51 extern stat_func_w w_kurt; 52 53 extern int sort_cell(DCELL *, int); 54 extern int sort_cell_w(DCELL(*)[2], int); 55 56 #endif 57