<Syntax> 



PARITY ( MASK [ , DIM ] )
MASK : rank N array of type Logical;
DIM : scalar Integer in the range 1 to N;
Result: Logical with the same kind as MASK. 





<Semantics> 



Reduces an array (either completely, or by collapsing one dimension) with the .NEQV. operation; the value is true if and only if the number of values (in that dimension with DIM=) that are true is odd. 





<Related> 



ANY intrinsic function,
ANY intrinsic function,
Arrayscalar operations,
Arrayarray operations,
COUNT intrinsic function,
IALL intrinsic function,
IANY intrinsic function,
IPARITY intrinsic function,
DOT_PRODUCT intrinsic function,
MATMUL intrinsic function,
MAXLOC intrinsic function,
MAXVAL intrinsic function,
MINLOC intrinsic function,
MINVAL intrinsic function,
PRODUCT intrinsic function,
Reduction intrinsic functions,
SUM intrinsic function,
TRANSPOSE intrinsic function 

