[Numpy-discussion] Robust Sorting of Points
pierre.haessig at crans.org
Mon Oct 28 08:44:20 EDT 2013
Le 27/10/2013 19:28, Freddie Witherden a écrit :
> I wish to sort these points into a canonical order in a fashion which is
> robust against small perturbations. In other words changing any
> component of any of the points by an epsilon ~ 1e-12 should not affect
> the resulting sorted order.
Can you give more precision on what you mean by "canonical order". Since
there is no natural order in R^n for n>1, I guess your problem is more
about *defining* what is the order you want rather than *implementing*
it in C/Python or whatever.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 900 bytes
Desc: OpenPGP digital signature
More information about the NumPy-Discussion