Skip to content

Commit 3cec2e5

Browse files
committed
update link
1 parent 8ebe8f6 commit 3cec2e5

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

src/stdlib_sorting.fypp

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
!! Licensing:
55
!!
6-
!! This file is subjec† both to the Fortran Standard Library license, and
6+
!! This file is subject both to the Fortran Standard Library license, and
77
!! to additional licensing requirements as it contains translations of
88
!! other software.
99
!!
@@ -65,8 +65,11 @@
6565
module stdlib_sorting
6666
!! This module implements overloaded sorting subroutines named `ORD_SORT`,
6767
!! `SORT_INDEX`, and `SORT`, that each can be used to sort four kinds
68-
!! of `INTEGER` arrays and three kinds of `REAL` arrays. By default, sorting
69-
!! is in order of increasing value, though `SORT_INDEX` has the option of
68+
!! of `INTEGER` arrays and three kinds of `REAL` arrays.
69+
!! ([Specification](../page/specs/stdlib_sorting.html))
70+
!!
71+
!!By default, sorting
72+
!! is in order of increasing value, though all subroutines have the option of
7073
!! sorting in order of decresasing value. All the subroutines have worst
7174
!! case run time performance of `O(N Ln(N))`, but on largely sorted data
7275
!! `ORD_SORT` and `SORT_INDEX` can have a run time performance of `O(N)`.
@@ -140,7 +143,10 @@ module stdlib_sorting
140143
!!
141144
!! The generic subroutine implementing the `ORD_SORT` algorithm to return
142145
!! an input array with its elements sorted in order of (non-)decreasing
143-
!! value. Its use has the syntax:
146+
!! value.
147+
!! ([Specification](../page/specs/stdlib_sorting.html#ord_sort-sorts-an-input-array))
148+
!!
149+
!! Its use has the syntax:
144150
!!
145151
!! call ord_sort( array[, work, reverse] )
146152
!!
@@ -190,7 +196,10 @@ module stdlib_sorting
190196
!!
191197
!! The generic subroutine implementing the `SORT` algorithm to return
192198
!! an input array with its elements sorted in order of (non-)decreasing
193-
!! value. Its use has the syntax:
199+
!! value.
200+
!! ([Specification](../page/specs/stdlib_sorting.html#sort-sorts-an-input-array))
201+
!!
202+
!!Its use has the syntax:
194203
!!
195204
!! call sort( array[, reverse] )
196205
!!
@@ -229,6 +238,8 @@ module stdlib_sorting
229238
!! return an index array whose elements would sort the input array in the
230239
!! desired direction. It is primarily intended to be used to sort a
231240
!! derived type array based on the values of a component of the array.
241+
!! ([Specification](../page/specs/stdlib_sorting.html#sort_index-creates-an-array-of-sorting-indices-for-an-input-array-while-also-sorting-the-array)
242+
!!
232243
!! Its use has the syntax:
233244
!!
234245
!! call sort_index( array, index[, work, iwork, reverse ] )

0 commit comments

Comments
 (0)