SUBROUTINE PERMUT (Z, ni, nj)
ARGUMENTS
OUT
Z(NI,NJ) field on which the rotation is done real
IN
Z(NI,NJ) field on which the rotation is done real
NI x-dimension of array Z integer
NJ y-dimension of array Z integer
(1,NJ) (NI,NJ)
+-------------+
| |
| | array Z
| |
| |
| |
+-------------+
(1,1) (NI,1)
DESCRIPTION
Rotates a matrix around the middle line. This subroutine is used to re-arrange data. Ex.: for contouring, data is from south to north, but for interpolation, it has to be from north to south.
EXAMPLE
Number 1
Return to RPN home page