Skip to content

Commit 56fd86f

Browse files
committed
Removed trailing whitespace
Removed trailing whitespace from the markdown document, stdlib_sorting.md. [ticket: X]
1 parent 0031f74 commit 56fd86f

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

doc/specs/stdlib_sorting.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ data:
4747
* `ORD_SORTING` is intended to provide indices for sorting arrays of
4848
derived type data, based on the ordering of an intrinsic component
4949
of the derived type.
50-
* `UNORD_SORT` is intended to sort simple arrays of intrinsic data
51-
that are effectively unordered before the sort;
50+
* `UNORD_SORT` is intended to sort simple arrays of intrinsic data
51+
that are effectively unordered before the sort;
5252

5353
#### The `ORD_SORT` subroutine
5454

@@ -143,21 +143,21 @@ housekeeping it has slower runtime performance than `ORD_SORT`.
143143
provided as optional `work` and `iwork` arguments or allocated
144144
internally on the stack.
145145

146-
#### The `UNORD_SORT` subroutines
146+
#### The `UNORD_SORT` subroutines
147147

148148
`UNORD_SORT` uses the [`introsort` sorting algorithm of David Musser]
149-
(http://www.cs.rpi.edu/~musser/gp/introsort.ps). `introsort` is a hybrid
149+
(http://www.cs.rpi.edu/~musser/gp/introsort.ps). `introsort` is a hybrid
150150
unstable comparison algorithm combining `quicksort`, `insertion sort`,
151151
and `heap sort`. While this algorithm's runtime performance is always
152152
O(N Ln(N)), it is relatively fast on randomly ordered data, but
153153
inconsistent in performance on partly sorted data. David Musser has
154154
given permission to include a variant of `introsort` in the Fortran
155-
Standard Library under the MIT license provided we cite:
155+
Standard Library under the MIT license provided we cite:
156156

157157
Musser, D.R., “Introspective Sorting and Selection Algorithms,”
158-
Software—Practice and Experience, Vol. 27(8), 983–993 (August 1997).
158+
Software—Practice and Experience, Vol. 27(8), 983–993 (August 1997).
159159

160-
as the official source of the algorithm.
160+
as the official source of the algorithm.
161161

162162
As with `introsort`, `UNORD_SORT` is an unstable hybrid algorithm.
163163
First it examines the array and estimates the depth of recursion a
@@ -440,14 +440,14 @@ We have performed benchmarks of the procedures on nine different
440440
arrays each of size `2**20`:
441441

442442
* Blocks - the array is divided into siz blocks, each of distinct
443-
uniformly increasing integers.
444-
* Decreasing - values decrease uniformly from `2**20-1` to `0`.
443+
uniformly increasing integers.
444+
* Decreasing - values decrease uniformly from `2**20-1` to `0`.
445445
* Identical - all integers have the same value of 10.
446446
* Increasing - values increase uniformly from `0` to `2**20-1`.
447-
* Random dense - the integers are generated randomly from a set of
448-
values from `0` to `2**18-1` so duplicates are dense.
449-
* Random order - a set of integers from `0` to `2**20 - 1` in random
450-
order.
447+
* Random dense - the integers are generated randomly from a set of
448+
values from `0` to `2**18-1` so duplicates are dense.
449+
* Random order - a set of integers from `0` to `2**20 - 1` in random
450+
order.
451451
* Random sparse - the integers are generated randomly from a set of
452452
values from `0` to `2**22-1` so duplicates are sparse.
453453
* Random-3 - the increasing array has 3 random exchanges of individual

0 commit comments

Comments
 (0)