NAME
     IPARITY_PREFIX

SYNOPSIS
     USE HPF_LIBRARY

     IPARITY_PREFIX(ARRAY, DIM, MASK, SEGMENT, EXCLUSIVE)

DESCRIPTION
     IPARITY_PREFIX  Computes   a   segmented   bitwise   logical
     exclusive OR scan along dimension DIM of ARRAY.

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

     DIM  this is an optional argument.  If present, it  must  be
          scalar  and of type integer with a value in the range 1
          <= DIM <= n, where n is the rank of ARRAY.

     MASK this is an optional argument.  It must be of type logi-
          cal and must be conformable with ARRAY.

     SEGMENT
          this is an optional argument.  Must be of type  logical
          and have the same shape as ARRAY.

     EXCLUSIVE
          this is an optional argument.  Must be of type  logical
          and must be scalar.

RESULT TYPE
     Same type and shape as ARRAY.

SEE ALSO
     IPARITY_SUFFIX.