[Numpy-discussion] Robust Sorting of Points

Pierre Haessig pierre.haessig at crans.org
Mon Oct 28 08:44:20 EDT 2013


Hi,

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.

best,
Pierre

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20131028/5b65d077/attachment.sig>


More information about the NumPy-Discussion mailing list