NAME
     IANY_SCATTER

SYNOPSIS
     USE HPF_LIBRARY

     IANY_SCATTER(ARRAY, BASE, INDX1, ..., INDXn, MASK)

DESCRIPTION
     IANY_SCATTER scatters elements of ARRAY selected by MASK  to
     positions of the result indicated by the index arrays INDX1,
     ...INDXn. The jth bit of an element of the result  is  1  if
     and  only  if  the  jth bits of the corresponding element of
     BASE or of the elements of any  of  the  elements  of  ARRAY
     scattered to that position is equal to 1.

ARGUMENTS
     ARRAY
          must be of type integer. It must not be scalar.

     BASE must be of type integer with the same kind type parame-
          ter as ARRAY.  It must not be scalar.

     INDX1...INDXn
          must be of type logical and must  be  conformable  with
          ARRAY.

     MASK this optional argument must be of type logical and must
          be conformable with ARRAY.

RESULT TYPE
     Same type and shape as BASE.

SEE ALSO
     IANY_PREFIX.