9.145. IPARITY

9.145 IPARITY — Bitwise XOR of array elements

Description:
Reduces with bitwise XOR (exclusive or) the elements of ARRAY along dimension DIM if the corresponding element in MASK is TRUE.
Standard:
Fortran 2008 and later
Class:
Transformational function
Syntax:
RESULT = IPARITY(ARRAY[, MASK])
RESULT = IPARITY(ARRAY, DIM[, MASK])
Arguments:
ARRAY Shall be an array of type INTEGER
DIM (Optional) shall be a scalar of type INTEGER with a value in the range from 1 to n, where n equ