#include "worgen.h"
FUNCTION c_pxcomp (in, out, ns, dtype)
long *in; long *out; long *ns; long *dtype;
Input array to be complemented. Must be same type as out.
Output array to hold result. Must be same type as in.
Number of elements in the input array.
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
c_pxcomp() performs a one's complement on each element of an input array. The input array and output array must be of the same type.
c_pxcomp() returns
E_SUCC --> successful completion TYPERR --> invalid type specified