NAME
     ALL_SCATTER

SYNOPSIS
     USE HPF_LIBRARY

     ALL_SCATTER(ARRAY, BASE, INDX1, ..., INDXn)

DESCRIPTION
     ALL_SCATTER scatters elements of ARRAY to positions  of  the
     result  indicated  by  the  index arrays INDX1, ...INDXn. An
     element of the result is true if and only if the correspond-
     ing  element  of BASE and all elements of ARRAY scattered to
     that position are true.

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

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

     INDX1...INDXn
          must be of type integer  and  conformable  with  ARRAY.
          The  number of INDX arguments must be equal to the rank
          of BASE.

RESULT TYPE
     Same type and shape as BASE.

SEE ALSO
     ALL_PREFIX.