stats.h 1.4 KB

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