home *** CD-ROM | disk | FTP | other *** search
-
- This file includes an address quicksort with a test
- driver program. Unfortunately, although the FORTRAN appears
- essentially identical to a successful program developed on a
- large system, the Microsoft version doesn't work yet. The
- subroutine MINV takes an array of some type of data (according
- to the type of A, normally REAL or CHARACTER) and gives back
- an index to it, leaving the data undisturbed. This is often
- faster and more useful than actually moving the data around,
- but the principles are similar. As you will see in the
- RATFOR version, it provides a place to use various control
- constructs in a fairly small program.
- Although it (in the working version) can be used in
- any situation, there are other methods which may be faster
- and simpler in many cases. For very large disordered arrays,
- it is quite effective.
- The problem seems to be in the comparison process--
- as you will see by running it, it works fine when sorting
- positive integers.
-