c_pxlxor - Performs a logical exclusive OR on two arrays

SYNTAX

#include "worgen.h"

FUNCTION c_pxlxor (in, map, out, ns, dtype)

     long               *in;
     long               *map;
     long               *out;
     long               *ns;
     long               *dtype;

PARAMETERS

in (input, 'dtype')

Input array to be "xored". Must be same type as map and out.

map (input, 'dtype')

Input array to be "xored". Must be same type as in and out.

out (output, 'dtype')

Output array to hold result. Must be same type as in and map.

ns (input, integer)

Number of elements in the input arrays.

dtype (input, integer)

Integer value representing the type of data. Legal values include:

     = EBYTE(1):     unsigned byte data
     = EWORD(2):     signed two byte data
     = ELONG(3):     signed four byte data
     = EREAL(4):     four byte floating point data

DESCRIPTION

c_pxlxor() performs a logical exclusive OR on each element of two input arrays. The input arrays and output array must be of the same type.

RETURN VALUE

c_pxlxor() returns

     E_SUCC --> successful completion
     TYPERR --> invalid type specified