Partitioning used for quickSort and quickSelect routines
Interfaced with partition
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r32), | intent(inout) | :: | this(:) | 1D array |
||
integer(kind=i32), | intent(in) | :: | left | Left index |
||
integer(kind=i32), | intent(in) | :: | right | Right index |
||
integer(kind=i32), | intent(inout) | :: | iPivot | Pivoting index |
Interfaced with partition
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64), | intent(inout) | :: | this(:) | 1D array |
||
integer(kind=i32), | intent(in) | :: | left | Left index |
||
integer(kind=i32), | intent(in) | :: | right | Right index |
||
integer(kind=i32), | intent(inout) | :: | iPivot | Pivoting index |
Interfaced with partition
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i32), | intent(inout) | :: | this(:) | |||
integer(kind=i32), | intent(in) | :: | left | |||
integer(kind=i32), | intent(in) | :: | right | |||
integer(kind=i32), | intent(inout) | :: | iPivot |
Interfaced with partition
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i64), | intent(inout) | :: | this(:) | |||
integer(kind=i32), | intent(in) | :: | left | |||
integer(kind=i32), | intent(in) | :: | right | |||
integer(kind=i32), | intent(inout) | :: | iPivot |