stats.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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_quart1;
  24. extern stat_func c_quart3;
  25. extern stat_func c_perc90;
  26. extern stat_func c_quant;
  27. extern stat_func c_skew;
  28. extern stat_func c_kurt;
  29. extern stat_func_w w_ave;
  30. extern stat_func_w w_count;
  31. extern stat_func_w w_median;
  32. extern stat_func_w w_min;
  33. extern stat_func_w w_max;
  34. extern stat_func_w w_mode;
  35. extern stat_func_w w_quart1;
  36. extern stat_func_w w_quart3;
  37. extern stat_func_w w_perc90;
  38. extern stat_func_w w_quant;
  39. extern stat_func_w w_reg_m;
  40. extern stat_func_w w_reg_c;
  41. extern stat_func_w w_reg_r2;
  42. extern stat_func_w w_stddev;
  43. extern stat_func_w w_sum;
  44. extern stat_func_w w_var;
  45. extern stat_func_w w_skew;
  46. extern stat_func_w w_kurt;
  47. extern int sort_cell(DCELL *, int);
  48. extern int sort_cell_w(DCELL(*)[2], int);
  49. #endif