Invert a given array 1 2 3 4 5 -> 5 4 3 2 1
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(inout) | :: | me(:,:) | array to invert |
||
integer, | intent(in) | :: | nElems | number of elements in the array |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=rk), | private | :: | tmp_entry(3) | ||||
integer, | private | :: | maxPos | ||||
integer, | private | :: | minPos |