jeromerobert / hmat-oss

A hierarchical matrix C/C++ library
GNU General Public License v2.0
22 stars 11 forks source link

Sort algorithm with groups #57

Closed gsylvand closed 3 years ago

gsylvand commented 6 years ago

https://github.com/jeromerobert/hmat-oss/blob/9ced6843c7fb0746b2cdd9f9ff3bae375bf90052/src/clustering.cpp#L50-L54

If I understand correctly, when we use group index, we don't sort at all on coordinates : no matter what is the value of axis_, we sort only on the group index. Is this correct ? Is this what we expect ?

dbarbier commented 3 years ago

Yes and yes; closing since everything looks good.