NAME
PARITY_SCATTER
SYNOPSIS
USE HPF_LIBRARY
PARITY_SCATTER(ARRAY, BASE, INDX1, ..., INDXn)
DESCRIPTION
PARITY_SCATTER Scatters elements of ARRAY to positions of
the result indicated by index arrays INDX1, ..., INDXn. An
element of the result is true if and only if the number of
true values among the corresponding element of BASE and the
elements of ARRAY scattered to that position is odd.
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.
INDX1...INDXn
must be of type integer and conformable with ARRAY.
RESULT TYPE
Same type and shape as BASE.
SEE ALSO
PARITY_PREFIX.