NAME
     PARITY_PREFIX

SYNOPSIS
     USE HPF_LIBRARY

     PARITY_PREFIX(MASK, DIM, SEGMENT,EXCLUSIVE)

DESCRIPTION
     PARITY_PREFIX Computes a segmented logical exclusive OR scan
     along dimension DIM of MASK.

ARGUMENTS
     MASK must be of type logical. 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 MASK.

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

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

RESULT TYPE
     Same type and shape as BASE.

SEE ALSO
     PARITY_SUFFIX.