Is there any way to sort real numbers from a lowest to a higher value ?
I am trying to do it with a do loop but it doesn't perform well when assigning real values to start,stop and increasing arguments of do loop.
I am using F90
I'd say, check on the docs of your compiler. As this is an everyday problem, your compiler might have some functions included for this job. In Salford FTN95 there are the functions rsort@, dsort@ and isort@ for sorting real, double and integer arrays respectively. In Compacq VC there is the sortqq function.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.