Sorting routine
Sorts a vector veca(1:n) into ascending numerical order, by straight insertion.
For large vectors, this routine will not be efficient.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | n | |||
real, | intent(inout) | :: | veca(n) |