cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

My sorting

ValeryOchkov
24-Ruby IV

My sorting

There is a lot of algorithm of sorting.

See please https://en.wikipedia.org/wiki/Sorting_algorithm

What name has this Mathcad algorithm?

See please the Mathcad-sheet in attach and animation below

MySort-New.gif

 

ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald III
(To:ValeryOchkov)

Valery,

 

I think it complies with the description of 'Selection sort' (https://en.wikipedia.org/wiki/Selection_sort), but with the additional property that your sorting algorithm takes up twice as much memory....

Where selection sort is usually done 'in-place' you set the sorted items aside in an additional part of memory.

 

Luc

View solution in original post

5 REPLIES 5

Sorry, I cannot edit my topic and must attach the Mathcad 15 file in this reply

LucMeekes
23-Emerald III
(To:ValeryOchkov)

Join the club here:

https://community.ptc.com/t5/Community-Feedback/Editing-a-post-not-possible/td-p/493475

 

I would call this "sorting by picking".

 

Luc


@LucMeekes wrote:

 

I would call this "sorting by picking".

 

Luc


Thanks, Luc!

Can we see thies "sorting by picking" here https://en.wikipedia.org/wiki/Sorting_algorithm

LucMeekes
23-Emerald III
(To:ValeryOchkov)

Valery,

 

I think it complies with the description of 'Selection sort' (https://en.wikipedia.org/wiki/Selection_sort), but with the additional property that your sorting algorithm takes up twice as much memory....

Where selection sort is usually done 'in-place' you set the sorted items aside in an additional part of memory.

 

Luc

Thanks, Luc!

May be so

sort2color.gif

Announcements

Top Tags