Sort three numbers in an array and return the location of the median
Interfaced with medianOf3()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r32) | :: | this(:) | ||||
integer(kind=i32) | :: | left | ||||
integer(kind=i32) | :: | mid | ||||
integer(kind=i32) | :: | right |
Interfaced with medianOf3()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64) | :: | this(:) | ||||
integer(kind=i32) | :: | left | ||||
integer(kind=i32) | :: | mid | ||||
integer(kind=i32) | :: | right |
Interfaced with medianOf3()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i32) | :: | this(:) | ||||
integer(kind=i32) | :: | left | ||||
integer(kind=i32) | :: | mid | ||||
integer(kind=i32) | :: | right |
Interfaced with medianOf3()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i64) | :: | this(:) | ||||
integer(kind=i32) | :: | left | ||||
integer(kind=i32) | :: | mid | ||||
integer(kind=i32) | :: | right |