User talk:Petelomax: Difference between revisions

Line 273:
end for
:<small>(Obviously the "by -1" ensures that deleting t_pairs[i] does not mess up any subsequent indexing.)</small><br>
:Note there may also be some cases where the natural sort order (on which unique is based) is not good enough, such as {{0.51,0.71}, {0.515,800}, {0.52,0.71}} where the first and last are "fuzzy-same" but the middle one clearly ain't. Rounding things before throwing them at unique() might perhaps prove better, or a full inner "j=i-1 to 1 by -1" might be needed, or maybe even replace unique() with a couple of sorts, first eliminating t_pairs sorted by X then doing the same sorted by Y. --[[User:Petelomax|Petelomax]] ([[User talk:Petelomax|talk]]) 16:41, 12 June 2023 (UTC)
7,805

edits