stats.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #ifndef GRASS_STATS_H
  2. #define GRASS_STATS_H
  3. #include <grass/gis.h>
  4. typedef void stat_func(DCELL *, DCELL *, int);
  5. typedef void stat_func_w(DCELL *, DCELL (*)[2], int);
  6. extern stat_func c_ave;
  7. extern stat_func c_count;
  8. extern stat_func c_divr;
  9. extern stat_func c_intr;
  10. extern stat_func c_max;
  11. extern stat_func c_maxx;
  12. extern stat_func c_median;
  13. extern stat_func c_min;
  14. extern stat_func c_minx;
  15. extern stat_func c_mode;
  16. extern stat_func c_stddev;
  17. extern stat_func c_sum;
  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_w w_ave;
  27. extern stat_func_w w_count;
  28. extern stat_func_w w_median;
  29. extern stat_func_w w_mode;
  30. extern stat_func_w w_quart1;
  31. extern stat_func_w w_quart3;
  32. extern stat_func_w w_perc90;
  33. extern stat_func_w w_reg_m;
  34. extern stat_func_w w_reg_c;
  35. extern stat_func_w w_reg_r2;
  36. extern stat_func_w w_stddev;
  37. extern stat_func_w w_sum;
  38. extern stat_func_w w_var;
  39. extern int sort_cell(DCELL *, int);
  40. extern int sort_cell_w(DCELL (*)[2], int);
  41. #endif