RMNLIB

(GDDVGD)

BASE


SUBROUTINE GDDVGD (R, a, b, con, ni, nj, nb)


ARGUMENTS

OUT

IN


DESCRIPTION

Divides, element-wise, one 2-dimensional array by another and scales the result array by a constant. It omits border rows specified by NB. R(I,J) = CON * A(I,J) / B(I,J)

EXAMPLE

Number 1

NOTES

NB  4-digit integer number which allows at most nine 
    rows on any side of the grid to be skipped.
    NB = d1*1000 + d2*100 +d3*10 + d4
    d1 = columns are skipped from left
    d2 = rows are skipped from bottom
    d3 = columns are skipped from right
    d4 = rows are skipped from top
    ex.:  NB=0000 include all borders (written as 0) 
      NB=1111 omit one row all around the grid 
      NB=2241 indicates that the 2 columns on the left of a, 
        2 rows at the bottom,  4 columns at the right 
        and 1 row at the top are not operated on and the 
        corresponding rows and columns of R are left 
        undefined by the routine 

SEE ALSO

afix, amax, amean, amin, gdadcn, gdadgd, gdmpcn, gdmpgd, gdsqrt, sqadsq

Return to RPN home page