|
subroutine | sortrp (a, ind, n) |
| Heap Sort for double precision arrays. More...
|
|
subroutine | sorti4 (a, ind, n) |
| Heap Sort for single integer arrays. More...
|
|
Definition at line 82 of file math.f90.
◆ sorti4()
subroutine math::sort::sorti4 |
( |
integer(i4), dimension(n), intent(inout) |
a, |
|
|
integer, dimension(n), intent(out) |
ind, |
|
|
integer, intent(in) |
n |
|
) |
| |
|
private |
Following p 231 Num. Rec., 1st Ed.
- Parameters
-
[in,out] | a | vector to be sorted |
[out] | ind | permutation array |
[in] | n | array size |
Definition at line 997 of file math.f90.
◆ sortrp()
subroutine math::sort::sortrp |
( |
real(kind=rp), dimension(n), intent(inout) |
a, |
|
|
integer, dimension(n), intent(out) |
ind, |
|
|
integer, intent(in) |
n |
|
) |
| |
|
private |
Following p 231 Num. Rec., 1st Ed.
- Parameters
-
[in,out] | a | vector to be sorted |
[out] | ind | permutation array |
[in] | n | array size |
Definition at line 939 of file math.f90.
The documentation for this interface was generated from the following file:
- /home/runner/work/neko/neko/src/math/math.f90