I am porting some R code to C. In R I use lots of operations on vectors like sorting, sum of vector elements, extract unique elements, etc. I will need to do these many times in C too. Are there any C libraries I could use for this purpose. Otherwise I must write my own.
Thanks.