[GRASS-dev] r3.univar

Sören Gebbert soerengebbert at gmx.de
Sat Feb 17 14:15:04 EST 2007


Hi devs,
i have written a new raster3d module named r3.univar.
The code is mostly identical with r.univar from Hamish.

I have replaced the qsort with a heapsort function,
because qsort is in the worst case scenario quite slow on large datasets.

Maybe we can put heapsort as library functions into the
grass library, so r.univar and other modules can use them too?
Or is this function already present in grass?

The new module is available here:
http://www-pool.math.tu-berlin.de/~soeren/grass/modules/r3.univar.tar.bz2

Best regards
Soeren




More information about the grass-dev mailing list