NAME
     IPARITY_SCATTER

SYNOPSIS
     USE HPF_LIBRARY

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

DESCRIPTION
     IPARITY_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 there are an odd number of ones among the
     jth bits of the corresponding element of BASE and  the  ele-
     ments of ARRAY scattered to that position.

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

     BASE must be of type integer  with the same kind type param-
          eter as ARRAY.

     INDX1...INDXn
          must be of type integer and 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
     IPARITY_PREFIX.